Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

basicconfiguration
Constraint Violating Yak Guru

358 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

358 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  
 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.23 seconds. Powered By: Snitz Forums 2000