![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
On Tue, 15 Mar 2005 15:21:01 -0800, Stingray wrote: (snip) 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 -- (Remove _NO_ and _SPAM_ to get my e-mail address) |
#4
| |||
| |||
|
|
Now if you could tell me why I have never been able to get it to work before, |
![]() |
| Thread Tools | |
| Display Modes | |
| |