[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Importing csv file using SSIS package in sql server 2005

Posted on 2011-10-19
1
Medium Priority
?
393 Views
Last Modified: 2012-05-12
Hi,
I am creating an SSIS package in sql server 2005 which imports a csv file into a database table.
I am using a “Flat File Source” to connect  to the csv file. (see sample from csv file)
The problem is that that the file groups an address using “ “ but SSIS sees each comma as a new column. This results in the output displayed below.
Any advice on how to resolve this appreciated. Thanks
 flat file
0
Comment
Question by:blossompark
1 Comment
 

Accepted Solution

by:
blossompark earned 0 total points
ID: 36992194
Hi,
 found the answer in this article
http://www.mssqltips.com/sqlservertip/1316/strip-double-quotes-from-an-import-file-in-integration-services-ssis/
put text qualifier as " and now works...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

834 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