Solved

SQL SERVER 2000 Bulk Insert question

Posted on 2009-05-05
3
375 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

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 …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

730 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