dbTalk Databases Forums  

Is there a limit on the linesize of an output text file connection

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


Discuss Is there a limit on the linesize of an output text file connection in the microsoft.public.sqlserver.dts forum.



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

Default Is there a limit on the linesize of an output text file connection - 09-08-2005 , 01:43 PM






My DTS package outputs a TextFile from a table column that is varchar(2000).
The Max(Len(Mycolumn)) is 1403. The file is written OK but it appears that
the output records are truncated at about 256. Why? I need to output the full
width of the data! No errors and no warnings. Dangerous! How can I ouput
longer recs?

Thanks

Michael

Reply With Quote
  #2  
Old   
David J. Cartwright
 
Posts: n/a

Default Re: Is there a limit on the linesize of an output text file connection - 09-08-2005 , 02:02 PM






Not sure if it will help but you may check your ANSI_PADDING setting which
removes trailing white space and Zero's from varchar's dont know if it will
help the output though, but it may if it retaines the trailing white space
(and i am assuming it is dropping white space and not actual data...)

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

Quote:
My DTS package outputs a TextFile from a table column that is
varchar(2000).
The Max(Len(Mycolumn)) is 1403. The file is written OK but it appears
that
the output records are truncated at about 256. Why? I need to output the
full
width of the data! No errors and no warnings. Dangerous! How can I ouput
longer recs?

Thanks

Michael



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

Default RE: Is there a limit on the linesize of an output text file connection - 09-08-2005 , 02:26 PM



I recently had this. the old version of the wizard sets up the max length of
the fields to be 255. You can change this by opening th DTS package, go to
the package menu, disconnected edit, choose your destination connection, open
it up and change the Max Characters per delimited column to be larger.

-Good Luck!
Dave

"Snake" wrote:

Quote:
My DTS package outputs a TextFile from a table column that is varchar(2000).
The Max(Len(Mycolumn)) is 1403. The file is written OK but it appears that
the output records are truncated at about 256. Why? I need to output the full
width of the data! No errors and no warnings. Dangerous! How can I ouput
longer recs?

Thanks

Michael

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

Default Re: Is there a limit on the linesize of an output text file connec - 09-08-2005 , 02:56 PM





"David J. Cartwright" wrote:

Quote:
Not sure if it will help but you may check your ANSI_PADDING setting which
removes trailing white space and Zero's from varchar's dont know if it will
help the output though, but it may if it retaines the trailing white space
(and i am assuming it is dropping white space and not actual data...)

"Snake" <Snake (AT) discussions (DOT) microsoft.com> wrote in message
news:E9187292-F6B7-4D45-A6B7-CBFB47DA63C2 (AT) microsoft (DOT) com...
My DTS package outputs a TextFile from a table column that is
varchar(2000).
The Max(Len(Mycolumn)) is 1403. The file is written OK but it appears
that
the output records are truncated at about 256. Why? I need to output the
full
width of the data! No errors and no warnings. Dangerous! How can I ouput
longer recs?

Thanks

Michael


Actual data is being clipped!

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

Default RE: Is there a limit on the linesize of an output text file connec - 09-08-2005 , 02:56 PM





"DaveM" wrote:

Quote:
I recently had this. the old version of the wizard sets up the max length of
the fields to be 255. You can change this by opening th DTS package, go to
the package menu, disconnected edit, choose your destination connection, open
it up and change the Max Characters per delimited column to be larger.

-Good Luck!
Dave

"Snake" wrote:

My DTS package outputs a TextFile from a table column that is varchar(2000).
The Max(Len(Mycolumn)) is 1403. The file is written OK but it appears that
the output records are truncated at about 256. Why? I need to output the full
width of the data! No errors and no warnings. Dangerous! How can I ouput
longer recs?

Thanks

Michael

Thanks for the posting. This did not help. I am still getting my data
clipped!


Reply With Quote
  #6  
Old   
DaveM
 
Posts: n/a

Default RE: Is there a limit on the linesize of an output text file connec - 09-08-2005 , 03:36 PM



You may have to go to the transformation task & change the length of the
destination Field? Sorry it did not work for you (yet), mine turned out fine


"Snake" wrote:

Quote:

"DaveM" wrote:

I recently had this. the old version of the wizard sets up the max length of
the fields to be 255. You can change this by opening th DTS package, go to
the package menu, disconnected edit, choose your destination connection, open
it up and change the Max Characters per delimited column to be larger.

-Good Luck!
Dave

"Snake" wrote:

My DTS package outputs a TextFile from a table column that is varchar(2000).
The Max(Len(Mycolumn)) is 1403. The file is written OK but it appears that
the output records are truncated at about 256. Why? I need to output the full
width of the data! No errors and no warnings. Dangerous! How can I ouput
longer recs?

Thanks

Michael


Thanks for the posting. This did not help. I am still getting my data
clipped!

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.