Solved

SQL SERVER 2000 Bulk Insert question

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

688 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