Re: temp tables in stored procedures called from dts package
From: rmartinez (rmartinez_at_procard.com)
Date: 10/07/04
- Next message: bill page: "Sub Package Global Varialbe Loses Value"
- Previous message: Michael Kr: "Connection Issues"
- In reply to: Allan Mitchell: "Re: temp tables in stored procedures called from dts package"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 7 Oct 2004 15:30:44 -0700
I have had the same issue, Even if you have a sqltask that
creates the table, the temp table is not available to the
dts package because it is created and dumped once the
connection is closed.
Is there some connection property to use to hold open the
connection?
>-----Original Message-----
>If you want to use a # table then what I do is I create
it inmy database
>just before I design the package so that it know about it
and can do all the
>maping things
>
>
>
>--
>
>Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
>www.SQLDTS.com - The site for all your DTS needs.
>www.Konesans.com
>
>
>"matthew c. harad"
<matthewcharad@discussions.microsoft.com> wrote in
>message news:16F46593-7207-4D93-9AA5-
4F74682C163F@microsoft.com...
>> i'm calling a stored procedure to generate a dataset
for importation
>> across
>> sql servers. the stored procedure uses a temp table.
when trying to set
>> up
>> the dts package, i get an error message "invalid object
#temptablename"
>>
>> what's going on here? can i just not use temp tables
in sp's that get
>> called from dts packages? is there a standard
workaround? or am i just
>> doing something wrong?
>>
>> thanks
>> matthew
>
>
>.
>
- Next message: bill page: "Sub Package Global Varialbe Loses Value"
- Previous message: Michael Kr: "Connection Issues"
- In reply to: Allan Mitchell: "Re: temp tables in stored procedures called from dts package"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|