﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by vk-kirov  / Insert with OUTPUT clause / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 21:54:52 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>I received the following error message when I ran the script on SQL Server 2005.Msg 170, Level 15, State 1, Line 2Line 2: Incorrect syntax near 'OUTPUT'.Can someone put a light on this?</description><pubDate>Tue, 06 Jul 2010 02:40:48 GMT</pubDate><dc:creator>ipkunte</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Another good question, but a bit close to the one posted 6 days earlier - I was catching up on QOTD today after a while of not having time so I got to these two questions maybe 15 minutes apart (would have been less if I hadn't spent time thinking about the first one).  If I hadn't seen the previous one, and read the references in the explanation and played a bit with output clauses to get a better feel I would probably have guessed this one wrong (picked the syntax error instead of another error).</description><pubDate>Mon, 31 May 2010 11:27:18 GMT</pubDate><dc:creator>L' Eomot Inversé</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Thanks - nice question.</description><pubDate>Thu, 20 May 2010 10:53:26 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Thanks For the Good Question  :)</description><pubDate>Wed, 19 May 2010 22:50:48 GMT</pubDate><dc:creator>deepak.a</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Nice question. I almost got it wrong because when I read it, I assumed the output had a "into @myTable" after it. But when I read it again (and actually paid attention this time), I saw it didn't. :-D</description><pubDate>Wed, 19 May 2010 12:44:22 GMT</pubDate><dc:creator>Dave Jones - CRC</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Good question, it made me think some. I did refer back to the previous similar question to see what was different, which helped.</description><pubDate>Wed, 19 May 2010 09:52:20 GMT</pubDate><dc:creator>UMG Developer</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Agree with rjv:[quote]A twist on previous question agreed, but I do not agree with the choice of answers. It is a bit too vague to select that as an answer.  [/quote]Tricky with the select at the end. Good question, makes one think. I do a lot with triggers and output statements and had doubts.</description><pubDate>Wed, 19 May 2010 08:17:02 GMT</pubDate><dc:creator>sjimmo</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>A twist on previous question agreed, but I do not agree with the choice of answers. It is a bit too vague to select that as an answer.</description><pubDate>Wed, 19 May 2010 07:17:12 GMT</pubDate><dc:creator>rjv_rnjn</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Nice question... with a twist from the QOD from the other day :-D</description><pubDate>Wed, 19 May 2010 07:01:55 GMT</pubDate><dc:creator>Richard M.</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>thanks... i had to read BOL to get this right... :-)</description><pubDate>Wed, 19 May 2010 02:08:00 GMT</pubDate><dc:creator>ziangij</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Good Question .....By Seriously I attempted the question luckly my answer is match with answer....</description><pubDate>Wed, 19 May 2010 00:52:51 GMT</pubDate><dc:creator>Sree Arjun Div</dc:creator></item><item><title>RE: Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Nice question. Of course I got it wrong, as I thought it would be the same answer as the QotD from 13th of May. :-)</description><pubDate>Wed, 19 May 2010 00:46:53 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>Insert with OUTPUT clause</title><link>http://www.sqlservercentral.com/Forums/Topic924033-2696-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/Triggers/69987/"&gt;Insert with OUTPUT clause&lt;/A&gt;[/B]</description><pubDate>Tue, 18 May 2010 21:38:04 GMT</pubDate><dc:creator>vk-kirov</dc:creator></item></channel></rss>