dbTalk Databases Forums  

Dynamic Data Pump Source and Destination Columns

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


Discuss Dynamic Data Pump Source and Destination Columns in the microsoft.public.sqlserver.dts forum.



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

Default Dynamic Data Pump Source and Destination Columns - 04-10-2006 , 07:46 AM






I currently have a Data Pump going to a text file using an SQL query as
the source however, this query changes dynamically and so the source
columns aren't known until it is executed. Is there any way of getting
the column information from the source so that I can change the
following properties in an ActiveX script?

conRecordsTextFile.ConnectionProperties("Column Names").Value = ...
conRecordsTextFile.ConnectionProperties("Column Lengths").Value = ...
conRecordsTextFile.ConnectionProperties("Number Of Column").Value =
....

At the moment they are blank and so it is erroring with the message...

"Incomplete file format information"

Thanks

Glenn.


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.