SSIS & Code Pages..

B

Bob McClellan

I've been working on setting up a package to simply append data into a table
residing in a 2005 db.
(I've even tried importing the flat file from management studio)

I continue to get this error, regardless of how I structure the target
table.
[Flat File Source [1]] Error: Data conversion failed. The data conversion
for column "first_name" returned status
value 4 and status text "Text was truncated or one or more characters had
no match in the target code page.".

I feel the problem is in the "no match in the target code page"

If I go to an old box running SQL Server7, it imports with no problem.

Any advice on how to combat this would be very much appreciated.
Thanks in advance,
bob.
 
S

Sylvain Lafontaine

Use NVarchar instead of Varchar and you should be OK. If not, provide more
details.
 
B

Bob McClellan

Thanks Sylvain.


Sylvain Lafontaine said:
Use NVarchar instead of Varchar and you should be OK. If not, provide more
details.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)


Bob McClellan said:
I've been working on setting up a package to simply append data into a
table residing in a 2005 db.
(I've even tried importing the flat file from management studio)

I continue to get this error, regardless of how I structure the target
table.
[Flat File Source [1]] Error: Data conversion failed. The data
conversion for column "first_name" returned status
value 4 and status text "Text was truncated or one or more characters
had no match in the target code page.".

I feel the problem is in the "no match in the target code page"

If I go to an old box running SQL Server7, it imports with no problem.

Any advice on how to combat this would be very much appreciated.
Thanks in advance,
bob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top