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
 General SQL Server Forums
 New to SQL Server Programming
 INSERT IN TABLE + SET STATISTICS PROFILE
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

basicconfiguration
Constraint Violating Yak Guru

356 Posts

Posted - 03/21/2013 :  17:58:15  Show Profile  Reply with Quote
how to insert into a table "set statistics profile on"

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 03/22/2013 :  00:14:37  Show Profile  Visit russell's Homepage  Reply with Quote

set statistics profile on;
insert yourTable VALUES(arg1..., arg2...)
Go to Top of Page

basicconfiguration
Constraint Violating Yak Guru

356 Posts

Posted - 03/22/2013 :  12:29:34  Show Profile  Reply with Quote
for example
i enable set statistics profile on;
run a query select * from table1

I want the result to be inserted into a #temp
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.05 seconds. Powered By: Snitz Forums 2000