Viewing 15 posts - 2,866 through 2,880 (of 3,348 total)
Glenn Dorling (4/20/2010)
For the first part of the question your answer is based on the fact that by default...
April 21, 2010 at 2:22 am
I see a lot of new comments have been posted while I was away. Thanks all for the feedback! I think that there's too many of them to address every...
April 20, 2010 at 1:51 pm
Tom Brown (4/20/2010)
I've used IDENTITY for ages, assuming its both duplicate-proof and automatically indexed.
I'm glad to have this pointed...
April 20, 2010 at 7:27 am
Paul White NZ (4/20/2010)
April 20, 2010 at 2:08 am
Thanks for the feedback, to all involved in this discussion so far.
I appreciate all the kind words and compliments. And I'l try to address the questions and criticism in the...
April 20, 2010 at 1:33 am
nigel. (4/19/2010)
Hugo,Thanks for the input.
Which would you say is correct, the implementation as it stands or BOL?
Hi Nigel,
Tough question. We can't really look in the minds of the developers...
April 19, 2010 at 11:04 am
nigel. (4/19/2010)
SCOPE_IDENTITY will return the identity value from the most recent insert in the current scope. If the most recent insert was to a...
April 19, 2010 at 7:34 am
Andrew Watson-478275 (4/19/2010)
DECLARE @sid int
DECLARE @table Table (KeyID int primary key,KeyData varchar(5))
DECLARE @idtable Table (KeyID int identity primary key,KeyData varchar(5))
INSERT INTO @idtable (KeyData) VALUES('Test1')
INSERT...
April 19, 2010 at 3:01 am
Tom.Thomson (4/17/2010)
A question: is the stats_column_id column of sys_stats the same column_id as the column_id in sys.columns? If so, why does it have a different name?
Hi Tom,
I assume you...
April 17, 2010 at 12:31 pm
Nice question, Ron. I do not agree with Jason about the importance of the information though - it is interesting to know, but absolutely irrelevant for our jobs. 😉
I do...
April 16, 2010 at 2:52 am
Viewing 15 posts - 2,866 through 2,880 (of 3,348 total)