Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Defining fixed-width columns in txt file output

Author  Topic 

capella07
Starting Member

46 Posts

Posted - 2007-05-25 : 11:42:58
Hi, all

I'm currently creating (trying to, at least) my first DTS. What I'm doing is setting up a DTS to populate a table from a view, and output that table to a txt file where each column in the file is set at a pre-defined width. I'm not sure exactly how to set the column widths in the output txt file. Would that be done in the CREATE TABLE step I have? In the Transform Data Task Properties dialog, on the Destination, tab I see all of the columns listed. And I thought the "Define Columns" Dialog available from that tab would allow me to set my column widths, but I can't there.

How do I do this?

Thanks for anyone's help.

=====================================
f u cn rd ths, u cn gt a gd jb n prgrmng
   

- Advertisement -