dbTalk Databases Forums  

Transformations Source Columns Not Appearing

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Transformations Source Columns Not Appearing in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Melanie
 
Posts: n/a

Default Transformations Source Columns Not Appearing - 11-06-2003 , 08:46 AM






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

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Transformations Source Columns Not Appearing - 11-06-2003 , 01:16 PM






In article <0d2701c3a474$c2e428c0$a301280a (AT) phx (DOT) gbl>, Melanie
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
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
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



Reply With Quote
  #3  
Old   
Melanie
 
Posts: n/a

Default Re: Transformations Source Columns Not Appearing - 11-06-2003 , 02:12 PM



Hi Darren,

Thank you for your recommendation. I tried the creation
of the global tables (just by running the CREATE TABLE
code in my procedure) while trying to design this DTS
package but that didn't work.

I haven't tried running the procedure without dropping the
tables, so I'll try that. Maybe I need to have actual
data in there.

Thanks!!
Melanie

Quote:
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

.


Reply With Quote
  #4  
Old   
Melanie
 
Posts: n/a

Default Re: Transformations Source Columns Not Appearing - 11-06-2003 , 02:36 PM



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).

Much appreciated!
Melanie

Reply With Quote
  #5  
Old   
Darren Green
 
Posts: n/a

Default Re: Transformations Source Columns Not Appearing - 11-06-2003 , 02:44 PM



In article <02ab01c3a4a5$a5839910$a401280a (AT) phx (DOT) gbl>, Melanie
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
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).

Shouldn't need the data, are you sure you didn't close the connection
after the create table which would drop the ## table?

Either way, glad it now works.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.