![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can you create a temp table in one Execute SQL Task and use it in the query specified in another Execute SQL Task that is connected to a different database? Thanks, Dave. |
#3
| |||
| |||
|
|
Local temp tables won't persist across connections, separate Execute SQL tasks. Global temp tables will work but they can be a pain to work with. You may also want to consider using a staging table - like a permanent work table - instead of a temp table. -Sue On Mon, 20 Mar 2006 13:20:30 -0800, Dave Dave (AT) discussions (DOT) microsoft.com> wrote: Can you create a temp table in one Execute SQL Task and use it in the query specified in another Execute SQL Task that is connected to a different database? Thanks, Dave. |
![]() |
| Thread Tools | |
| Display Modes | |
| |