November 14, 2011 at 8:36 pm
Comments posted to this topic are about the item Table variable - 2
November 14, 2011 at 8:37 pm
Thanks Ron.
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
November 15, 2011 at 12:09 am
November 15, 2011 at 12:19 am
Thanks for the question
Iulian
November 15, 2011 at 12:31 am
This was removed by the editor as SPAM
November 15, 2011 at 1:32 am
good question, but in my morning daze i forgot to click @qoda is created, doh, epic fail on my part
November 15, 2011 at 2:15 am
Good questione, but the explanation is a bit too short. I assume Ron intended to write "You cannot create a named constraint on a table variable". On temporary and permanent tables, creating names constraints is supported (though it's not really a good idea for temporary tables).
November 15, 2011 at 4:41 am
Good question, agree with Hugo's points.
November 15, 2011 at 5:19 am
I love the new question style Ron! Nice way to do this :cool:.
November 15, 2011 at 6:04 am
Hugo Kornelis (11/15/2011)
Good questione, but the explanation is a bit too short. I assume Ron intended to write "You cannot create a named constraint on a table variable". On temporary and permanent tables, creating names constraints is supported (though it's not really a good idea for temporary tables).
I kept my explanation deliberately short, hopping that people would read the excellent article here on SSC by Wayne Sheffield, and thus learn a great deal more than I could say in a few words.
November 15, 2011 at 6:05 am
Thanks for the question.
http://brittcluff.blogspot.com/
November 15, 2011 at 6:05 am
I like this question too. Table variables often get a poor press, but not allowing named constraints (which could well conflict for objects in tempdb) is one thing I like about them. The ability to create named constraints on #temp tables is almost certainly only there for backward compatibility.
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi
November 15, 2011 at 6:14 am
Ninja's_RGR'us (11/15/2011)
I love the new question style Ron! Nice way to do this :cool:.
Why thank you for the compliment, it made my morning joyous.
November 15, 2011 at 7:42 am
Good question, thank you.
I will "third" liking your question format. It forces us to actually type the code if we want to cheat that way before answering the question.
Or conversely, if lazy and not feeling like typing, doing research.
Sorry folks, I'm sure all of us have done that at least once - I freely admit that myself.
Viewing 15 posts - 1 through 15 (of 23 total)
You must be logged in to reply to this topic. Login to reply