[quoted text, click to view] On Tue, 15 Mar 2005 15:21:01 -0800, Stingray wrote:
(snip)
[quoted text, click to view] >Create Table #TempDuesData
>(custid, invoicedate, prodname, amount,...)
>
>insert into #TempDuesData
>select [results of 'exec SP_Dues_Data @param1, @param2]
(snip)
>Is this possible? Does it even make sense to try? Am I just taking the wrong
>path? I appreciate any insight.
Hi Stingray,
I believe this is the syntax you're after:
CREATE TABLE #TempDuesData
(custid int NOT NULL, -- Just guesses!!
invoicedata datetime NOT NULL, -- Just guesses!!
....,
PRIMARY KEY (....)
)
INSERT INTO #TempDuesData (custid, invoicedata, ...)
EXEC SP_Dues_Data @param1, @param2
Best, Hugo
--