dbTalk Databases Forums  

simple DTS question

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


Discuss simple DTS question in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
paulhux174@hotmail.com
 
Posts: n/a

Default simple DTS question - 12-12-2006 , 10:45 PM






I'm exporting ( dts package) a query to a csv file, how do I get the
column names in the file.
I get the data but no column headings.


Thanks in advance


Reply With Quote
  #2  
Old   
Rick Brandt
 
Posts: n/a

Default Re: simple DTS question - 12-13-2006 , 06:31 AM






<paulhux174 (AT) hotmail (DOT) com> wrote

Quote:
I'm exporting ( dts package) a query to a csv file, how do I get the
column names in the file.
I get the data but no column headings.
You could use a UNION query with the first select inserting the column names
followed by your current select.


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: simple DTS question - 12-13-2006 , 04:38 PM



Hello paulhux174 (AT) hotmail (DOT) com,

In the properties of the Flat File destination is a checkbox that says "First
Row has Column Names". I believe this is what you want.


Regards

Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com

Quote:
I'm exporting ( dts package) a query to a csv file, how do I get the
column names in the file.
I get the data but no column headings.
Thanks in advance




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.