Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL SERVER 2000 Bulk Insert question

Posted on 2009-05-05
3
Medium Priority
?
396 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
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 INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

597 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