dbTalk Databases Forums  

Re: text data import problem

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


Discuss Re: text data import problem in the microsoft.public.sqlserver.dts forum.



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

Default Re: text data import problem - 08-06-2004 , 12:21 PM






What is the datatype and size of the column you are importing to?

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

Quote:
I create a DTS to import a text file. This text file has different record
lengh by line. For example the line starting with "40" 740 of lengh and
the
line starting with "45" has 250.
The problem is that when I try to import the full text file, it is
truncating the file to 250. What could be the problem?



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

Default Re: text data import problem - 08-07-2004 , 03:14 AM






Because you are using a text file then it may be that this may be your cause
although in the article it speaks of Exporting not importing.



DataPump truncates delimited fields to 255 characters
(http://www.sqldts.com/default.aspx?297)


Also HOW do you know it is being truncated?
Is the destination width large enough to handle the row sizes?
What tool are you using to view the data? It may be you have a maximum col
width set there (QA | options) so even though there is more data you are not
showing it.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


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

Quote:
I create a DTS to import a text file. This text file has different record
lengh by line. For example the line starting with "40" 740 of lengh and
the
line starting with "45" has 250.
The problem is that when I try to import the full text file, it is
truncating the file to 250. What could be the problem?



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.