﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / Problem with BULK INSERT / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 16:53:17 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Problem with BULK INSERT</title><link>http://www.sqlservercentral.com/Forums/Topic1352529-338-1.aspx</link><description>Glad we could help. :-)</description><pubDate>Thu, 13 Sep 2012 11:25:55 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: Problem with BULK INSERT</title><link>http://www.sqlservercentral.com/Forums/Topic1352529-338-1.aspx</link><description>Yes!!! I just converted the txt file to UNICODE ant it worked fine... Thanks a lot!!!!</description><pubDate>Wed, 12 Sep 2012 22:11:21 GMT</pubDate><dc:creator>FelixG</dc:creator></item><item><title>RE: Problem with BULK INSERT</title><link>http://www.sqlservercentral.com/Forums/Topic1352529-338-1.aspx</link><description>In particular, make sure that your source text file is not in UTF-8 format.</description><pubDate>Thu, 06 Sep 2012 10:20:01 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>RE: Problem with BULK INSERT</title><link>http://www.sqlservercentral.com/Forums/Topic1352529-338-1.aspx</link><description>Why have '^' as a delimiter for a start?Anyway, the problem is probably the encoding of the txt file, make sure it's Unicode. Make sure your type is 'varchar' and not 'nvarchar'. Make sure the collation of the column is Latin1_General_CI_AS.</description><pubDate>Thu, 06 Sep 2012 03:27:55 GMT</pubDate><dc:creator>Nesuke</dc:creator></item><item><title>Problem with BULK INSERT</title><link>http://www.sqlservercentral.com/Forums/Topic1352529-338-1.aspx</link><description>I'm trying to use the BULK INSERT statement to populate some table from a TXT file.In the TXT file field values are separated by the ^ character and the end of line is  (new line)Here goes an example of the the query used to import the data:BULK INSERT dbo._example   FROM 'c:\temp\example.txt'   WITH       (		DATAFILETYPE='char',	    FIELDTERMINATOR ='^',	    ROWTERMINATOR = ''      )The _example table has only one column (ENAME) of varchar datatype.When all the lines of the TXT table contain text without accents all goes right but when the file contains some accented caracter (é, á for example)  then I get the error: Msg 4863, Level 16, State 1, Line 1Bulk load data conversion error (truncation) for row 3, column 1 (ENAME).¿What am I missing there?</description><pubDate>Thu, 30 Aug 2012 17:02:59 GMT</pubDate><dc:creator>FelixG</dc:creator></item></channel></rss>