Solved

Select into from Stored Procedure

Posted on 2002-03-13
1
211 Views
Last Modified: 2006-11-17
Can I somehow use Select into with the column output from a stored procedure?
If not, what would be the best approach to capture the rows from a stored procedure?I
 
0
Comment
Question by:vd
1 Comment
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 50 total points
ID: 6863781
The destination table has to exist:

INSERT yourtable
exec yourproc

Now if the procedure is a system procedure, you could check the code of the procedure...

CHeers
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Addition to SQL for dynamic fields 6 37
T-SQL: Episode III - Revenge of The Dude 24 52
I Need a T-SQL Query (Union or Intersect, or...?) 6 39
Run SQL Server Proc from Access 11 28
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question