Hi,
I am facing following issue, when i tried to transfer large volume of data into a SQL(2008) table by using BCP utility.
The file format is .CSV and the amount data in it is 180 megs.
BCP Command
I tried following ways in order to fix this issue.
1. Converted the data type char to varchar - Result: NO USE
2. Earlier file didnt have header and added the header and tried - Result: NO USE
Please note that, in my file, there is no data in the last column.Is this causing a problem?
Can anybody please help me, where am i doing wrong?
Thanks in advance
I am facing following issue, when i tried to transfer large volume of data into a SQL(2008) table by using BCP utility.
The file format is .CSV and the amount data in it is 180 megs.
Code:
Msg 4863, Level 16, State 1, Line 1
Bulk load data conversion error (truncation) for row 2081, column 18 (SEASON_ADJ_MIDDLE_HIGH_BREAK_IN_1K).
Msg 4863, Level 16, State 1, Line 1
BCP Command
Code:
BULK INSERT TABLE A
FROM '\\10.48.164.48\Datamove1\REAS\Rogue Index\CLREAS_2013Q2\csv format\CLREAS_MTH.csv'
WITH
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n')
I tried following ways in order to fix this issue.
1. Converted the data type char to varchar - Result: NO USE
2. Earlier file didnt have header and added the header and tried - Result: NO USE
Please note that, in my file, there is no data in the last column.Is this causing a problem?
Can anybody please help me, where am i doing wrong?
Thanks in advance