December 10, 2010 at 6:02 pm
Thanks for the question, I have run into this before so I knew it right away.
December 12, 2010 at 10:15 am
Hugo Kornelis (12/10/2010)
(plus, that one is extremely unlikely, as the database for temporary object is called tempdb, not TempDB - but I guess only people who are in the habit of developing on a case sensitive instance would know that).
No, the case sensitivity makes no difference to the message displayed so even people like me who never use a case-sensitive instance are used to seeing "tempdb" in messages, and never "TempDB".
Tom
December 12, 2010 at 6:40 pm
Good question. Sometimes it is easy to miss small things and this type of questions will help us to keep up with the tips and tricks.
December 12, 2010 at 11:11 pm
good basic question.
Declare @strSql varchar(2000)
Set @strSql = ''
Set @strSql = @strSql + 'Create table #tmp (id int)'
Set @strSql = @strSql + 'Insert into #tmp(id) values (1) Select * from #tmp'
Exec (@strSql)
December 14, 2010 at 10:33 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 21, 2010 at 8:10 am
Very interesting question. Thank you!
April 1, 2011 at 4:14 am
Good Question.
Thanks
Vinay Kumar
-----------------------------------------------------------------
Keep Learning - Keep Growing !!!
Viewing 7 posts - 16 through 21 (of 21 total)
You must be logged in to reply to this topic. Login to reply