Solved

invalid delimited data: text qualifier must be followed by a column delimiter

Posted on 2009-04-10
6
1,369 Views
Last Modified: 2013-11-30
I have the same problem to import data by DTS, I clicked Delimited, file type: ANSI
row delimiter {CR}{LF} and text qualifieer Double Quote{"}, but I got this error
here is my .txt file
"2233","1","18-SEP-00","3","08-SEP-00","9","2000","647","1","1"
0
Comment
Question by:yrcdba7
6 Comments
 
LVL 17

Expert Comment

by:k_murli_krishna
ID: 24117274
I think, text qualifier " is only for text i.e. CHAR, VARCHAR etc. data. For date/datetime, it should be single quotes, for integer/decimal there should be no quotes in the .csv data file. You need to prepare/generate/export .csv file using better method/technique/tool.
0
 

Author Comment

by:yrcdba7
ID: 24117319
the file is with datetime, integer/decimal all of data is " ", I can not change them, it is 100K records.  what tool you prefer?
0
 
LVL 11

Expert Comment

by:N R
ID: 24117452
I had this problem I I just changed the file to tab delimited and it worked.  Do you have the ability to change what type of delimited columns you will be getting in the file?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 17

Accepted Solution

by:
k_murli_krishna earned 500 total points
ID: 24117559
Sorry, I do not think that is the problem. Are you mapping data to columns correctly? Also, without the double quotes ("), is the data's data type matching the column's data type? This is just a weather warning rather than a forecast ::)).
0
 

Author Comment

by:yrcdba7
ID: 24117672
I frist try to give all cols varchar (255), so I can import data into table then change data type. right now it stop to input data to table. it complain invalid delimited.  I look at text file, I don't see where I can change delimited to tab data type for .txt file.

I clicked Delimited and
file type: ANSI
Row delimiter:  {CR}{LF}
Text qualifier: Double Quote{"}

I used emediter delete .txt ending line space, then copy data to .txt file to import data. the delimiter gone maybe because I use editer to delete space, it taked delimiter out.   well still no work.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24124018
Please post a valid sample where we can duplicate the problem.  The line you posted is valid.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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