December 13, 2012 at 4:33 am
Thanks for the clear question and explanation! Learned something about IDENTITY columns.
December 13, 2012 at 4:34 am
Good question.
I am not sure why Lokesh chose to include a link to the SQL Server 2000 version of the documentation. Especially since the setup script uses SQL Server 2008 syntax to insert the first six rows into each table.
Here is a link to the most recent (SQL 2012) version of the IDENTITY INSERT article in Books Online: http://msdn.microsoft.com/en-us/library/ms188059.aspx
December 13, 2012 at 4:47 am
Hugo Kornelis (12/13/2012)
Good question.I am not sure why Lokesh chose to include a link to the SQL Server 2000 version of the documentation. Especially since the setup script uses SQL Server 2008 syntax to insert the first six rows into each table.
Here is a link to the most recent (SQL 2012) version of the IDENTITY INSERT article in Books Online: http://msdn.microsoft.com/en-us/library/ms188059.aspx
Thanks Hugo for pointing that out. I think the link has been copied mistakenly.
All glories to you for making the Qotd flawless as always.
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
December 13, 2012 at 6:07 am
This was removed by the editor as SPAM
December 13, 2012 at 6:50 am
thanks Hugo for pointing out that link thing 😛
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
December 13, 2012 at 6:51 am
Good Question!!!
December 13, 2012 at 7:17 am
Nice question Lokesh. Keep them coming.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
December 13, 2012 at 7:19 am
Nice Question
December 13, 2012 at 7:41 am
Nice question, I'd completely forgotten about this limitation.
December 13, 2012 at 9:05 am
Thank you for the good question, I had no idea about this behaviour.
December 13, 2012 at 9:18 am
Thanks for the question
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
December 13, 2012 at 10:19 am
Good, nice, interesting, and the best of all, practical.
Thanks Lokesh!
December 13, 2012 at 11:01 am
Excellent Question and learned something new!
Aigle de Guerre!
December 13, 2012 at 2:41 pm
Syntax error SQL 90 as well.
December 13, 2012 at 3:09 pm
That is a good one, Lokesh. Thanks!
Viewing 15 posts - 16 through 30 (of 43 total)
You must be logged in to reply to this topic. Login to reply