Solved

SQL SERVER 2000 Bulk Insert question

Posted on 2009-05-05
3
364 Views
Last Modified: 2012-05-06
I am attempting to do a bulk insert but am getting a collation error. If someone could review my .fmt file and text datafile and point me in the right direction to fixing...that would be great...note...the .fmt file has been rename to .txt due to file restrictions...it has been changed from orderLineItem.fmt to orderLineItem.txt.

Here is the error:

[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot perform bulk insert. Invalid collation name for source column 12 in format file '\\server\test\SAN\client\Content\files\PersonalizedDataFeed\Format\orderLineItem.fmt'.


orderLineItem.txt
dataFeedTest75.txt
0
Comment
Question by:cfmdev
  • 2
3 Comments
 
LVL 4

Expert Comment

by:kssaran
ID: 24311537
From the Error "Invalid collation name for source column 12 "
Looks like collation name sepcified for Column 12  in your query doesn't seem to be matching with the original Collation name for Column 12.

Please verify the same.
0
 
LVL 4

Accepted Solution

by:
kssaran earned 500 total points
ID: 24311721
Trying Adding a Carriage Return (Enter Key Stroke) at the last line and try again
0
 

Author Closing Comment

by:cfmdev
ID: 31578191
That did the trick...thanks kssaran.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
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…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

792 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