Solved

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

Posted on 2009-04-10
6
1,349 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now