![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I am creating a global temporary table by calling a stored procedure in one of the steps in a DTS package. In another step, I am trying to fetch records from the global temporary table. I am getting some errors here. |
#4
| |||
| |||
|
|
Hi Sevugan Sevugan wrote: I am creating a global temporary table by calling a stored procedure in one of the steps in a DTS package. In another step, I am trying to fetch records from the global temporary table. I am getting some errors here. which errors do you get? Are you sure you created a global temp table ;-) Helge |
#5
| |||
| |||
|
|
Hi What is the error that you are getting best Regards, Chandra http://chanduas.blogspot.com/ --------------------------------------- *** Sent via Developersdex http://www.developersdex.com *** |
#6
| |||
| |||
|
|
Hi Chandra, It says Invalid object name. -- Sevugan.C "Chandra" wrote: Hi What is the error that you are getting best Regards, Chandra http://chanduas.blogspot.com/ --------------------------------------- *** Sent via Developersdex http://www.developersdex.com *** |
#7
| |||
| |||
|
|
Is the session active between 2 steps. The temporary table gets deleted when the session is killed. just try acessing the table by ##temptable -- best Regards, Chandra http://chanduas.blogspot.com/ http://groups.msn.com/SQLResource/ --------------------------------------- "Sevugan" wrote: Hi Chandra, It says Invalid object name. -- Sevugan.C "Chandra" wrote: Hi What is the error that you are getting best Regards, Chandra http://chanduas.blogspot.com/ --------------------------------------- *** Sent via Developersdex http://www.developersdex.com *** |
#8
| |||
| |||
|
|
Hi Sevugan Sevugan wrote: I am creating a global temporary table by calling a stored procedure in one of the steps in a DTS package. In another step, I am trying to fetch records from the global temporary table. I am getting some errors here. which errors do you get? Are you sure you created a global temp table ;-) Helge |
#9
| |||
| |||
|
|
Hi, I have created a temporary table with ##. I executed the step in the DTS package. It said successfully executed. I looked up in the tempdb database for the temporary table I have created in the previous step. It was not available. Is it possible to create a ##temporary table inside a DTS Package. |
![]() |
| Thread Tools | |
| Display Modes | |
| |