February 25, 2012 at 7:13 pm
Comments posted to this topic are about the item Table Value Constructor 1
February 25, 2012 at 11:16 pm
Nice question, thanks!
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
February 26, 2012 at 7:30 pm
Good Question. Today I learned something new !!!!.
February 27, 2012 at 2:20 am
This was removed by the editor as SPAM
February 27, 2012 at 2:31 am
Nice constructor. Alas we are limited by older version.
February 27, 2012 at 2:54 am
(sorry for cheating) but I really don't get it 🙁
(by the way the question is really cool, i know remember one requirement which I had on the similar thing where there are two dates column and each can contain null and actually i need to list all the values in DESC (from both column) as one column, if A is null then take it from B....) I can understand this but I having hard time understanding the logic and the ways the SQL statement is written.:w00t:
ww; Raghu
--
The first and the hardest SQL statement I have wrote- "select * from customers" - and I was happy and felt smart.
February 27, 2012 at 3:49 am
FFS worked the answer out but still selected the wrong one in the list. Must stop doing that - twice this year now.
February 27, 2012 at 4:09 am
nice question !!!
thanks Ron!!
February 27, 2012 at 7:14 am
To get my mind going I can think of no better way than answering the question of the day! Great question. 🙂
February 27, 2012 at 7:19 am
Thanks for the ¿
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
February 27, 2012 at 9:05 am
Very good question.
I really really really learnt a new good feature.
Thank you a lot.
😛
February 27, 2012 at 9:25 am
February 27, 2012 at 9:46 am
great question. had to read more into this as I hadn't used VALUES in this way before.
February 27, 2012 at 12:06 pm
Good question - made me think hard.
When I first looked at it I hadn't a clue what it was doing, it took me quite a few minutes staring it and wondering what on earth it meant to realise that a single column table was being generated for each row of the starting table and the max taken from that.
Good references in the explanation too (although as the question specified SQL 2008 R2 and Denali it was a bit odd to reference the SQL 2008 BoL page instead of the SQL 2008 R2 one).
But something seems to be wrong with the wording of the explanation, I can't work out what the bit before the comma means.
Tom
Viewing 15 posts - 1 through 15 (of 21 total)
You must be logged in to reply to this topic. Login to reply