dbTalk Databases Forums  

Please HELP! text import problems.

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


Discuss Please HELP! text import problems. in the microsoft.public.sqlserver.dts forum.



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

Default Please HELP! text import problems. - 05-16-2005 , 02:55 PM






I have been having difficulties for many months now when importing text data
that is exported from SAP then FTP's from a UNIX server to my SQL server.

What is happening is, when I use the text file source and data pump to
import the data, I do not receive all the rows.

I can take the same text files and import them into either Access or XL
without any problems. This is actually how I found out that the rows were
missing.

I have looked at the text files with a HEX editor and the row indicator is
0D and 0A (carraige return and line feed).

I also noticed that If I am importing a fixed field file and the file
contains 6 columns and the first row contains data only in the first 5
columns, you can not parse or define the 6th column. To remedy this, I
copied a record in the file that contained data in all 6 column and moved it
to the first row. When I did this, I was able to define all 6 columns.

This problem has haunted me for many months now but only when the data comes
from SAP. I work for a Koren company where almost every machine contains
multilanguage support for Koren. Im not sure it this is the problem or if I
am grasping at straws here, but it is the only thing I can think of.

I do not want to load multi language support on may local maching or server.

Many of my data feeds have to be manually imported into Access first then
into SQL.

Please.... Please..... help me solve this problem.


Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: Please HELP! text import problems. - 05-17-2005 , 10:32 AM






Gary,

Can the issue be related to ftp transfer mode? Have you tried binary as it
would not change row delimiters around?

Ilya

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

Quote:
I have been having difficulties for many months now when importing text
data
that is exported from SAP then FTP's from a UNIX server to my SQL server.

What is happening is, when I use the text file source and data pump to
import the data, I do not receive all the rows.

I can take the same text files and import them into either Access or XL
without any problems. This is actually how I found out that the rows were
missing.

I have looked at the text files with a HEX editor and the row indicator is
0D and 0A (carraige return and line feed).

I also noticed that If I am importing a fixed field file and the file
contains 6 columns and the first row contains data only in the first 5
columns, you can not parse or define the 6th column. To remedy this, I
copied a record in the file that contained data in all 6 column and moved
it
to the first row. When I did this, I was able to define all 6 columns.

This problem has haunted me for many months now but only when the data
comes
from SAP. I work for a Koren company where almost every machine contains
multilanguage support for Koren. Im not sure it this is the problem or if
I
am grasping at straws here, but it is the only thing I can think of.

I do not want to load multi language support on may local maching or
server.

Many of my data feeds have to be manually imported into Access first then
into SQL.

Please.... Please..... help me solve this problem.




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

Default Re: Please HELP! text import problems. - 05-17-2005 , 12:40 PM



Yes, I do have it set to binary.

I'm not sure if it is a bug or not, but I feel it is related to the data in
the last column. As mentioned below, If the structure is initally defined as
6 columns, but the 6th column of the first record does not contain data, it
appears that it not bringing in remaing records that do have data in the 6th
column.



"Ilya Margolin" wrote:

Quote:
Gary,

Can the issue be related to ftp transfer mode? Have you tried binary as it
would not change row delimiters around?

Ilya

"Gary" <Gary (AT) discussions (DOT) microsoft.com> wrote in message
news:A0E56870-B199-4D80-97D7-0C106CC33083 (AT) microsoft (DOT) com...
I have been having difficulties for many months now when importing text
data
that is exported from SAP then FTP's from a UNIX server to my SQL server.

What is happening is, when I use the text file source and data pump to
import the data, I do not receive all the rows.

I can take the same text files and import them into either Access or XL
without any problems. This is actually how I found out that the rows were
missing.

I have looked at the text files with a HEX editor and the row indicator is
0D and 0A (carraige return and line feed).

I also noticed that If I am importing a fixed field file and the file
contains 6 columns and the first row contains data only in the first 5
columns, you can not parse or define the 6th column. To remedy this, I
copied a record in the file that contained data in all 6 column and moved
it
to the first row. When I did this, I was able to define all 6 columns.

This problem has haunted me for many months now but only when the data
comes
from SAP. I work for a Koren company where almost every machine contains
multilanguage support for Koren. Im not sure it this is the problem or if
I
am grasping at straws here, but it is the only thing I can think of.

I do not want to load multi language support on may local maching or
server.

Many of my data feeds have to be manually imported into Access first then
into SQL.

Please.... Please..... help me solve this 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.