Click here to Skip to main content
15,887,416 members
Home / Discussions / Database
   

Database

 
QuestionSQL Pictures Pin
RevCuevas23-Oct-07 9:34
RevCuevas23-Oct-07 9:34 
AnswerRe: SQL Pictures Pin
pmarfleet23-Oct-07 10:29
pmarfleet23-Oct-07 10:29 
QuestionGet Script Pin
mehrdadc4823-Oct-07 8:58
mehrdadc4823-Oct-07 8:58 
AnswerRe: Get Script Pin
pmarfleet23-Oct-07 9:23
pmarfleet23-Oct-07 9:23 
QuestionDTS: Transform Task > Stored Procedure > Temp Table error Pin
Bjohnson3323-Oct-07 5:52
Bjohnson3323-Oct-07 5:52 
AnswerRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
jschell23-Oct-07 9:30
jschell23-Oct-07 9:30 
GeneralRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
Bjohnson3323-Oct-07 21:19
Bjohnson3323-Oct-07 21:19 
AnswerRe: DTS: Transform Task > Stored Procedure > Temp Table error [modified] Pin
GuyThiebaut23-Oct-07 10:26
professionalGuyThiebaut23-Oct-07 10:26 
The reason you are getting this error is because you cannot use temp tables with DTS packages.
This is because DTS packages cannot resolve temp tables in design time.

This is a 'feature' of SQL Server 2000.
My advice is not to use temp tables with the DTS package.

What I do is pipe the result of the stored procedure to a table then call the DTS package from within a stored procedure (using the freshly populated table in the DTS package).
You can then drop the table or delete the rows once the DTS package has been run.

Alternatively if you really want to use temp tables check out this link where I explain how to get around this problem.
The solution is not pretty.

Basically my advice is to avoid temp tables with DTS packages - this is a documented 'feature'.

I hope this helps.




-- modified at 16:32 Tuesday 23rd October, 2007


-- modified at 16:33 Tuesday 23rd October, 2007

You always pass failure on the way to success.

GeneralRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
Bjohnson3323-Oct-07 21:21
Bjohnson3323-Oct-07 21:21 
GeneralRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
GuyThiebaut23-Oct-07 22:35
professionalGuyThiebaut23-Oct-07 22:35 
QuestionHow to reset the identity Pin
devboycpp23-Oct-07 4:56
devboycpp23-Oct-07 4:56 
AnswerRe: How to reset the identity Pin
Pete O'Hanlon23-Oct-07 5:00
mvePete O'Hanlon23-Oct-07 5:00 
AnswerRe: How to reset the identity Pin
Mitesh Darji23-Oct-07 22:52
Mitesh Darji23-Oct-07 22:52 
QuestionUpdate Query Cant seem to spot the problem Pin
ekynox23-Oct-07 2:56
ekynox23-Oct-07 2:56 
AnswerRe: Update Query Cant seem to spot the problem Pin
squattyarun23-Oct-07 3:05
squattyarun23-Oct-07 3:05 
AnswerRe: Update Query Cant seem to spot the problem Pin
Paddy Boyd23-Oct-07 3:06
Paddy Boyd23-Oct-07 3:06 
GeneralRe: Update Query Cant seem to spot the problem Pin
ekynox23-Oct-07 3:20
ekynox23-Oct-07 3:20 
GeneralRe: Update Query Cant seem to spot the problem Pin
Paddy Boyd23-Oct-07 3:43
Paddy Boyd23-Oct-07 3:43 
AnswerRe: Update Query Cant seem to spot the problem Pin
Rob Graham23-Oct-07 7:53
Rob Graham23-Oct-07 7:53 
GeneralRe: Update Query Cant seem to spot the problem Pin
ekynox23-Oct-07 10:32
ekynox23-Oct-07 10:32 
QuestionDelete Pin
ritu432123-Oct-07 1:35
ritu432123-Oct-07 1:35 
AnswerRe: Delete Pin
sindhutiwari23-Oct-07 1:41
sindhutiwari23-Oct-07 1:41 
GeneralRe: Delete Pin
pmarfleet23-Oct-07 1:48
pmarfleet23-Oct-07 1:48 
AnswerRe: Delete Pin
pmarfleet23-Oct-07 1:43
pmarfleet23-Oct-07 1:43 
AnswerRe: Delete Pin
N a v a n e e t h23-Oct-07 1:57
N a v a n e e t h23-Oct-07 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.