![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have a DTS package that needs to export the results of a stored procedure into an Excel spreadsheet. The stored procedure is returning results from global temporary tables. I have a transform data task. The source tab contains the stored procedure name. But on the transformations tab, I cannot get the Source column names to show up. Does anyone know how to fix this? Thank you so much! Melanie |
#3
| |||
| |||
|
|
The global temp table needs to exist for the meta-data to be available. Run the proc manually and ensure you do not drop the tables, then build the package. Once the design is complete you can drop the temp table and also allow the proc to clean up itself. Just fudge it for the designer temporarily. -- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com PASS - the definitive, global community for SQL Server professionals http://www.sqlpass.org . |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi Darren, THANK YOU SO MUCH! Running the procedure without dropping the global tables worked (I guess I did need actual data in these tables). |
![]() |
| Thread Tools | |
| Display Modes | |
| |