SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Insert statement and column names
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

imransi17
Starting Member

12 Posts

Posted - 06/02/2014 :  10:40:10  Show Profile  Reply with Quote
Hello,

Can an INSERT statement also return all columns inserted as a result set? If so what clause of the INSERT statement does this?

Thanks,

gbritton
Flowing Fount of Yak Knowledge

1755 Posts

Posted - 06/02/2014 :  11:19:57  Show Profile  Reply with Quote
the Output clause.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 06/06/2014 :  08:58:48  Show Profile  Reply with Quote
see
http://www.tech-recipes.com/rx/47032/a-beginners-guide-to-the-output-clause-in-sql-server/[/]

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000