Solved

SQL SERVER 2000 Bulk Insert question

Posted on 2009-05-05
3
345 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now