September 29, 2016 at 10:38 pm
Comments posted to this topic are about the item OUTPUT Targets
September 30, 2016 at 12:45 am
This was removed by the editor as SPAM
September 30, 2016 at 3:42 am
This should also include 'as a result set' or 'as client output', i.e. it doesn't have to be targeted to a table or variable.
September 30, 2016 at 3:50 am
Stewart "Arturius" Campbell (9/30/2016)
Nice, easy question to end the week on, thanks Steve.Just a point of confusion in the options:
a table variable, a table in the table, or a temp table
I recon that should have been
a table in the database
I must admit, that had me scratching my head quite a bit.
+1
September 30, 2016 at 4:46 am
Nice and easy question. Had a scratch due to the typo.
Thanks for sharing Steve.
September 30, 2016 at 5:46 am
Easy one, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 30, 2016 at 6:08 am
pmadhavapeddi22 (9/30/2016)
Stewart "Arturius" Campbell (9/30/2016)
Nice, easy question to end the week on, thanks Steve.Just a point of confusion in the options:
a table variable, a table in the table, or a temp table
I recon that should have been
a table in the database
I must admit, that had me scratching my head quite a bit.
+1
I agree. I was also surprised to see it did not mention that it can also go to another INSERT, UPDATE, DELETE, or MERGE statement
September 30, 2016 at 6:18 am
Stewart "Arturius" Campbell (9/30/2016)
Nice, easy question to end the week on, thanks Steve.Just a point of confusion in the options:
a table variable, a table in the table, or a temp table
I recon that should have been
a table in the database
I must admit, that had me scratching my head quite a bit.
Y'know Steve makes these typos to punish us for not writing our own QotDs, right?
Actually, the question is still slightly incorrect. It's missing one possible target: a result set. Maybe it's overlooked because it's the default, but it's still another destination for the data from the OUTPUT clause.
September 30, 2016 at 6:56 am
September 30, 2016 at 7:27 am
twin.devil (9/30/2016)
Nice and easy question. Had a scratch due to the typo.Thanks for sharing Steve.
+1
Nice explanation the OUTPUT clause is in: https://www.simple-talk.com/sql/learn-sql-server/implementing-the-output-clause-in-sql-server-2008/
September 30, 2016 at 10:37 am
Stewart "Arturius" Campbell (9/30/2016)
Nice, easy question to end the week on, thanks Steve.Just a point of confusion in the options:
a table variable, a table in the table, or a temp table
I recon that should have been
a table in the database
I must admit, that had me scratching my head quite a bit.
Thanks. Typo on my part
October 3, 2016 at 2:58 am
Steve Jones - SSC Editor (9/30/2016)
Stewart "Arturius" Campbell (9/30/2016)
Nice, easy question to end the week on, thanks Steve.Just a point of confusion in the options:
a table variable, a table in the table, or a temp table
I recon that should have been
a table in the database
I must admit, that had me scratching my head quite a bit.
Thanks. Typo on my part
Ironically for the benefit of us all. We really had to be sure that we thought this one through. Thanks.
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!
October 3, 2016 at 11:56 am
Thanks for the question.
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy