dbTalk Databases Forums  

help pls! csv last row problem

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


Discuss help pls! csv last row problem in the microsoft.public.sqlserver.dts forum.



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

Default help pls! csv last row problem - 10-16-2005 , 03:56 AM






hi !

i have this VERY weird DTS problem with csv. everything works fine until a
certain record was entered in the data. for example, the new member was C and
C have records c1,c2,c3,c4,c5 together with all the records of B (b1,b2,b3)
and A(a1,a2,a3).

c5 having the last row in the csv file, was not inserted in the temporary
table! but there are also some instance that this record is showing on the
table, but sometimes its not .


what do you think should i do in order for it to insert all of the data not
leaving the last row behind?

thank you very much!

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

Default Re: help pls! csv last row problem - 10-16-2005 , 06:11 AM






Hello troubleD,

Is the row terminated correctly. I know a long time back we used to see this

BUG: Last Row of Fixed Length File Fails to Import When File Does Not End
with Row Delimiter
PSS ID Number: Q251119




Quote:
hi !

i have this VERY weird DTS problem with csv. everything works fine
until a certain record was entered in the data. for example, the new
member was C and C have records c1,c2,c3,c4,c5 together with all the
records of B (b1,b2,b3) and A(a1,a2,a3).

c5 having the last row in the csv file, was not inserted in the
temporary table! but there are also some instance that this record is
showing on the table, but sometimes its not .

what do you think should i do in order for it to insert all of the
data not leaving the last row behind?

thank you very much!




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

Default Re: help pls! csv last row problem - 10-16-2005 , 10:01 PM



i think it would be tiring if i will open anytime the csv file and insert
some delimeters on it. i have this made with a scheduled job every 30 mins
and i think its inappropriate to do it this way ?

would you recommend if i install service pack 4 of sql server? would it help ?

thank you for your reply.


"Allan Mitchell" wrote:

Quote:
Hello troubleD,

Is the row terminated correctly. I know a long time back we used to see this

BUG: Last Row of Fixed Length File Fails to Import When File Does Not End
with Row Delimiter
PSS ID Number: Q251119




hi !

i have this VERY weird DTS problem with csv. everything works fine
until a certain record was entered in the data. for example, the new
member was C and C have records c1,c2,c3,c4,c5 together with all the
records of B (b1,b2,b3) and A(a1,a2,a3).

c5 having the last row in the csv file, was not inserted in the
temporary table! but there are also some instance that this record is
showing on the table, but sometimes its not .

what do you think should i do in order for it to insert all of the
data not leaving the last row behind?

thank you very much!





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

Default Re: help pls! csv last row problem - 10-17-2005 , 01:00 AM



Hello troubleD,

On what Service Pack are you?

If the problem is with the file then no amount of service packing is going
to fix it. Open her up in a Hex Editor and look at the very last spaces.
Are they the same as your row terminator specified?


Allan

Quote:
i think it would be tiring if i will open anytime the csv file and
insert some delimeters on it. i have this made with a scheduled job
every 30 mins and i think its inappropriate to do it this way ?

would you recommend if i install service pack 4 of sql server? would
it help ?

thank you for your reply.

"Allan Mitchell" wrote:

Hello troubleD,

Is the row terminated correctly. I know a long time back we used to
see this

BUG: Last Row of Fixed Length File Fails to Import When File Does Not
End with Row Delimiter PSS ID Number: Q251119

hi !

i have this VERY weird DTS problem with csv. everything works fine
until a certain record was entered in the data. for example, the new
member was C and C have records c1,c2,c3,c4,c5 together with all the
records of B (b1,b2,b3) and A(a1,a2,a3).

c5 having the last row in the csv file, was not inserted in the
temporary table! but there are also some instance that this record
is showing on the table, but sometimes its not .

what do you think should i do in order for it to insert all of the
data not leaving the last row behind?

thank you very much!




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.