Solved

MS SQL Bulk load data error

Posted on 2016-10-20
5
55 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 48

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 48

Accepted Solution

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Viewers will learn how the fundamental information of how to create a table.

856 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