dbTalk Databases Forums  

bulk export task (sqldts.com darren green) how to export column header

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


Discuss bulk export task (sqldts.com darren green) how to export column header in the microsoft.public.sqlserver.dts forum.



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

Default bulk export task (sqldts.com darren green) how to export column header - 03-08-2005 , 10:27 AM






Hi,

I am using the wonderful DTS Bulk Export Task
(www.sqldts.com/default.aspx?237)

How do I export the column header (names of columns) into the first row
in the output CSV file?

The views that I export from SQL have different structures, so I can't
use a constant format file.

Any help is appreciated!

thanks,
vinod


Reply With Quote
  #2  
Old   
Simon Worth
 
Posts: n/a

Default Re: bulk export task (sqldts.com darren green) how to export column header - 03-08-2005 , 10:46 AM






Are you looking for support for a product you downloaded from the SQLDTS
webpage?

--
Simon Worth


<vchakravarthy (AT) datalabusa (DOT) com> wrote

Quote:
Hi,

I am using the wonderful DTS Bulk Export Task
(www.sqldts.com/default.aspx?237)

How do I export the column header (names of columns) into the first row
in the output CSV file?

The views that I export from SQL have different structures, so I can't
use a constant format file.

Any help is appreciated!

thanks,
vinod




Reply With Quote
  #3  
Old   
vchakravarthy@datalabusa.com
 
Posts: n/a

Default Re: bulk export task (sqldts.com darren green) how to export column header - 03-08-2005 , 11:03 AM



Yes, but I am open to other possible solutions too. Thanks.


Reply With Quote
  #4  
Old   
Simon Worth
 
Posts: n/a

Default Re: bulk export task (sqldts.com darren green) how to export column header - 03-08-2005 , 11:17 AM



gotcha.
In a DTS when you define your text file output, you can specify "First row
has column names".

--
Simon Worth


<vchakravarthy (AT) datalabusa (DOT) com> wrote

Quote:
Yes, but I am open to other possible solutions too. Thanks.




Reply With Quote
  #5  
Old   
vinod
 
Posts: n/a

Default Re: bulk export task (sqldts.com darren green) how to export colum - 03-08-2005 , 11:45 AM



Thanks.

Would you happen to know if there is a similar option or way to do
accomplish this using the Bulk Export Task from SQLDTS.com
(www.sqldts.com/default.aspx?23Â*7) ??


"Simon Worth" wrote:

Quote:
gotcha.
In a DTS when you define your text file output, you can specify "First row
has column names".

--
Simon Worth


vchakravarthy (AT) datalabusa (DOT) com> wrote in message
news:1110301399.670917.29450 (AT) z14g2000cwz (DOT) googlegroups.com...
Yes, but I am open to other possible solutions too. Thanks.





Reply With Quote
  #6  
Old   
Simon Worth
 
Posts: n/a

Default Re: bulk export task (sqldts.com darren green) how to export colum - 03-08-2005 , 12:02 PM



I've never actuallly used that tool before.

--
Simon Worth


"vinod" <vinod (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks.

Would you happen to know if there is a similar option or way to do
accomplish this using the Bulk Export Task from SQLDTS.com
(www.sqldts.com/default.aspx?23*7) ??


"Simon Worth" wrote:

gotcha.
In a DTS when you define your text file output, you can specify "First
row
has column names".

--
Simon Worth


vchakravarthy (AT) datalabusa (DOT) com> wrote in message
news:1110301399.670917.29450 (AT) z14g2000cwz (DOT) googlegroups.com...
Yes, but I am open to other possible solutions too. Thanks.







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

Default Re: bulk export task (sqldts.com darren green) how to export column header - 03-08-2005 , 02:02 PM



In message <1110299250.556379.23050 (AT) f14g2000cwb (DOT) googlegroups.com>,
vchakravarthy (AT) datalabusa (DOT) com writes
Quote:
Hi,

I am using the wonderful DTS Bulk Export Task
(www.sqldts.com/default.aspx?237)

How do I export the column header (names of columns) into the first row
in the output CSV file?

The views that I export from SQL have different structures, so I can't
use a constant format file.

Any help is appreciated!

thanks,
vinod

Simple answer is that task does not support that option.

As Simon suggests, it can be done with the DTS text file connection and
the DataPump, but that is not as flexible as you need to define the
DataPump up front with the structures.

--
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
  #8  
Old   
Tom de Koning via SQLMonster.com
 
Posts: n/a

Default Re: bulk export task (sqldts.com darren green) how to export column header - 03-16-2005 , 04:34 AM



Hi Darren,
I've tried your emailaddress listed on sqldts.com but doesn't seem to work.
I too have a question regarding the bulk export task. Is it possible to
have:
1. Comma seperated, double quote text qualifer and first row contains field
names.
2. Fixed field, file type, ANSI. Row delimiter: {CR}{LF}

thanks Tom

--
Message posted via http://www.sqlmonster.com

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

Default Re: bulk export task (sqldts.com darren green) how to export column header - 03-18-2005 , 08:16 AM




"Tom de Koning via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Quote:
Hi Darren,
I've tried your emailaddress listed on sqldts.com but doesn't seem to
work.
I too have a question regarding the bulk export task. Is it possible to
have:
1. Comma seperated, double quote text qualifer and first row contains
field
names.
2. Fixed field, file type, ANSI. Row delimiter: {CR}{LF}

thanks Tom

1 - CSV and text qualifiers can be done through a format file. Format files
are just like those used by BCP or BULK INSERT. Column names cannot be done.

2 - Yep, again format files

The mail address on the site deliberatly has an additional spam filter in,
as stated on the site, you need to remove it.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com




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.