Viewing 11 posts - 1 through 11 (of 11 total)
Don't know if it might help, but the INSERTED pseudo table (inside the trigger) already contains the "to-be-commited" identity values (if the table has an identity column). For example:
SELECT max(MyIdentityColumnName)...
December 2, 2011 at 7:06 am
GilaMonster (11/29/2010)
Please note: Almost 2 year old thread.
I know 🙂
If it doesn't help the author, it might help someone who was searching for answers :-). I found this post via...
November 29, 2010 at 11:03 am
A clustered index must be re-ordered when it is updated. That means the whole index is basically reorganized, and that is why it's expensive. A primary key (PK) is usually...
November 29, 2010 at 9:47 am
verena_techie-1005324 (1/6/2010)
January 6, 2010 at 12:16 pm
verena_techie-1005324 (1/6/2010)
January 6, 2010 at 11:03 am
Phil Factor (1/5/2010)
Clearly something must be done to reverse the trend.
What steps exactly do you suggest be taken to reverse the trend, Mr Phil?
January 6, 2010 at 3:53 am
Very good method.
I'm just not sure if I would want to be any one of the users connected to the DB while the script is run, since I will get...
August 26, 2009 at 11:13 am
Thank you.
Now it is clear I agree now that #2 is the correct answer. It helps to re-read the question a couple o' times...
July 26, 2007 at 11:43 pm
We do not know what the param was. We assume it was 0?
July 26, 2007 at 8:48 am
From the msdn site "...However, if you experience difficulties creating indexes, consider increasing the value of this option from its run value..."
It doesn't list possible reasons why it might be...
July 24, 2007 at 11:25 pm
Yes indeed. Very valuable feature. Performance can be greatly enhanced by this, where triggers may be replaced. Those wondering about the missing spaces...
In the first example block, SELECTSCOPE_IDENTITY()...
July 9, 2007 at 12:03 am
Viewing 11 posts - 1 through 11 (of 11 total)