Bulk Insert

  • Hi

    I am doing bulj insert a text file into a sql server staging table, It just inserts whole text file into a table of 1 coulmn, but I get rthe following error, pls help its urgent.

     

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 1, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 2, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 3, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 4, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 5, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 6, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 7, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 8, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 9, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 10, column 1 (Col001).

    Server: Msg 4863, Level 16, State 1, Line 1

    Bulk insert data conversion error (truncation) for row 11, column 1 (Col001).

    Server: Msg 4865, Level 16, State 1, Line 1

    Could not bulk insert because the maximum number of errors (10) was exceeded.

    Server: Msg 7399, Level 16, State 1, Line 1

    OLE DB provider 'STREAM' reported an error. The provider did not give any information about the error.

    OLE DB error trace [OLE/DB Provider 'STREAM' IRowset::GetNextRows returned 0x80004005:  The provider did not give any information about the error.].

    The statement has been terminated.

  • Hello,

    Have you check the length of your column and the length of what you want to insert ?

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply