Viewing 5 posts - 1 through 5 (of 5 total)
Hi gregw_lists,
I have removed Max query and replaced it with the one below.
SELECT TOP 1 @UserDefinedSequenceNumber = UserDefinedSequenceNumber FROM ORDERS
WHERE UserDefinedSequenceNumber IS NOT NULL ORDER BY UserDefinedSequenceNumber DESC
Still there are...
December 20, 2010 at 4:11 am
Yes i did thought of a sql agent job, but want to know if this can be achieved by some kind of locking or something else. I want to keep...
December 20, 2010 at 2:12 am
Ooookkkkk... so why the heck do you need error prone sequence logic in a RBAR trigger if you have an identity column in the table? This makes no sense at...
December 19, 2010 at 11:46 pm
-Can you tell me why this column is nullable in the first place ?
I can make it not null, but how this is gonna help?
Why don't you just put it...
December 19, 2010 at 11:22 pm
I cant use Identity column to solve this because I will be having null values also in the column.
Thanks
Pankaj
December 19, 2010 at 8:37 am
Viewing 5 posts - 1 through 5 (of 5 total)