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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 results of a stored procedure in a temp table

Author  Topic 

R@bb1t
Starting Member

28 Posts

Posted - 2008-01-24 : 00:50:35
How can I put the results of a stored procedure in a temp table??

sunil
Constraint Violating Yak Guru

282 Posts

Posted - 2008-01-24 : 00:58:53
Hope this link helps
http://www.cornetdesign.com/2005/07/inserting-results-of-stored-procedure.html
http://www.sqlteam.com/article/stored-procedures-returning-data

Also, I would request you to search on google first and if you don't find it there, post on forum here.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-01-24 : 01:39:37
One more method
http://sqlblogcasts.com/blogs/madhivanan/archive/2007/11/26/select-columns-from-exec-procedure-name-is-this-possible.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

R@bb1t
Starting Member

28 Posts

Posted - 2008-01-24 : 02:14:15
THX A LOT GUYS, IT REALLY HELPS...........
Go to Top of Page
   

- Advertisement -