SQL Server 7
I have a stored procedure that returns a recordset. Works great.
What I want to do is call that procedure from another stored procedure, and throw the data into a table. Something like:
I think I found a way to do it way back when, but forgot. Anyone have any ideas?
Thanks in advance,
Jason
I have a stored procedure that returns a recordset. Works great.
What I want to do is call that procedure from another stored procedure, and throw the data into a table. Something like:
Code:
CREATE PROC AS
SELECT Field1, Field2 INTO NewTable FROM MyStoredProc 'Parameter' ORDER BY Field2
--....Other Processing
I think I found a way to do it way back when, but forgot. Anyone have any ideas?
Thanks in advance,
Jason