Solved

MS SQL Bulk load data error

Posted on 2016-10-20
5
59 Views
Last Modified: 2016-11-21
I am running a stored procedure in SQL, that is importing and converting Apache logs into a csv format. I am getting the following error.

Bulk load data conversion error (type mismatch or invalid character for the specified code page)    error 4864.

This was working fine, and there hasn't been any changes to the stored procedure or the log format.
0
Comment
Question by:VH
  • 3
5 Comments
 
LVL 20

Expert Comment

by:Russ Suter
ID: 41852497
Something in the source data has changed or is in a format not previously seen. I suspect there's a column that is now empty that was not empty before and the column into which you're trying to insert the value does not accept NULLs.
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 41856646
Russ's right. It was your data that changed and not the code.
Don't you have logs configured to store the errors?
0
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41876782
VH, a feedback will be appreciated.
Cheers
0
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 41895770
VH, you shouldn't accept my comment as solution since I didn't provide one.
You may accept Russ's comment or request this question to be deleted.
Cheers
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question