September 13, 2011 at 9:32 pm
Dear master,
I do not know why I can not import csv file into sql 2000 using DTS Import/Export Wizard, some error message that appears is:
1. could not find the selected row delimiter within the first 8 KB of Data
2. too many column found in the current row;non-white space characters were found after the last defined column's data
3. error calling GetNextRows
4. invalid delimited data;
thanks for your help...
September 13, 2011 at 9:45 pm
Many who might want to assist you do NOT like openning attachements .. possible bad software within.. so can you cut and paste a samplel into the main page of the forum ... say about 8 or 10 lines
September 13, 2011 at 11:01 pm
thanks ron for you comment, but the file size is just 907KB and it is CSV file. (not virus file, just txt/flat file)
don't worry about this file, and thanks for every one that want to help me..
please...
September 13, 2011 at 11:23 pm
try linked server with your excel file. After then you can query your excel linked server like database objects. Store the record from excel to temp table and then do import/export from one table to other.
----------
Ashish
September 13, 2011 at 11:58 pm
diboy79 (9/13/2011)
1. could not find the selected row delimiter within the first 8 KB of Data2. too many column found in the current row;non-white space characters were found after the last defined column's data
3. error calling GetNextRows
4. invalid delimited data;
Errors 2, 3, and 4 are caused by error 1. What delimiter ARE you trying to use for a row delimiter? I can tell you that CrLf won't do it in this case.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2011 at 12:39 am
Jeff Moden (9/13/2011)Errors 2, 3, and 4 are caused by error 1. What delimiter ARE you trying to use for a row delimiter? I can tell you that CrLf won't do it in this case.
row delimiter use comma, and text qualifier with double quote. please, download that sample file for detail. i don't know exactly what structure csv file is...
🙂
September 14, 2011 at 12:55 am
this is screenshot for error:
September 14, 2011 at 6:35 pm
diboy79 (9/14/2011)
Jeff Moden (9/13/2011)Errors 2, 3, and 4 are caused by error 1. What delimiter ARE you trying to use for a row delimiter? I can tell you that CrLf won't do it in this case.
row delimiter use comma, and text qualifier with double quote. please, download that sample file for detail. i don't know exactly what structure csv file is...
🙂
I did... that's why I wanted you to tell me what you were using for a row delimiter so I could tell if they match or not. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2011 at 6:45 pm
diboy79 (9/14/2011)
this is screenshot for error:
That doesn't match any of the previous errors you listed. The error above is what you might get if part of the file got chopped off... like the file you posted.
Also, I can't read what the headings are in the file but the word "Bank" shows up a lot. It looks like this file could contain a fair bit of personal information. If that's true, please edit your post and delete the file from this site.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 14, 2011 at 9:59 pm
Jeff Moden (9/14/2011)
That doesn't match any of the previous errors you listed. The error above is what you might get if part of the file got chopped off... like the file you posted.Also, I can't read what the headings are in the file but the word "Bank" shows up a lot. It looks like this file could contain a fair bit of personal information. If that's true, please edit your post and delete the file from this site.
The Heading is from "ID" to "KETERANGAN", and as your advice I had been deleted this file.
i don't know row delimiter is used?
September 14, 2011 at 10:09 pm
I was trying to do not use DTS wizard, and use bulk insert lg attachment bellow, but it is not solve anything...:-D
September 15, 2011 at 5:27 am
I believe I can make BULK INSERT work for this but... since you originally posted a file that ended in a partial line, you should first check with the provider of the data and find out where the rest of the file went. Once you have a whole file, we can work on the problem of importing it.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2011 at 10:16 pm
thanks all, the csv file that I uploaded yesterday is full file. the problem is after the column name, one row with another row are separated by a comma, giving rise to confusion to distinguish between columns.
🙂
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply