Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: IMPORT FROM: Error at first row in csv

$
0
0

Hi Myles,

 

Thanks for your comments.

 

CSV structure is exactly same as table structure, '2,2' are integer values (same as table).

 

CSV has around 100 records, 99 records are getting imported successfully except the very first record.

 

sample data:

 

1,2,2007-01-01 00:00:00.000,363.7,359.4,1,2009-07-01 00:00:00.000,2009-07-01 00:00:00.000

2,2,2007-02-01 00:00:00.000,356,353.6,1,2009-07-01 00:00:00.000,2009-07-01 00:00:00.000

3,2,2007-03-01 00:00:00.000,358.6,362.1,1,2009-07-01 00:00:00.000,2009-07-01 00:00:00.000

4,2,2007-04-01 00:00:00.000,363.3,357,1,2009-07-01 00:00:00.000,2009-07-01 00:00:00.000

5,2,2007-05-01 00:00:00.000,353.8,347.9,1,2009-07-01 00:00:00.000,2009-07-01 00:00:00.000

 

If I delete the record that starts with "1,2" and import, second record that starts with "2,2" is throwing the same error.

 

Problem is "  "

 

These junk characters are making issues, I don't see them when I open the csv file in text editor.

 

I tried, deleting the first row from csv and import again, getting the same error.

 

Thanks,

Nagaraj


Viewing all articles
Browse latest Browse all 9165

Trending Articles