Groups | Blog | Home
all groups > sql server (alternate) > july 2003 >

sql server (alternate) : Insert Query with stored procedure


John Gilson
7/21/2003 9:01:06 PM
[quoted text, click to view]

Use INSERT INTO/EXEC, e.g.,

INSERT INTO #TempTable (col1, col2, col3)
EXEC MyStoredProcedure 1, 2

Regards,
jag

Harald
7/21/2003 10:07:52 PM
Hi,

is it possible to create an "INSERT INTO ..... "Select from stored
procedure" Query?

I want to create an temporary table. In this table I want to enter the data,
which I can get from an stored procedure.
But in the FROM-clause a stored procedure is not allowed?



AddThis Social Bookmark Button