Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 SSIS - export TXT file to CSV

Author  Topic 

galbrecht
Starting Member

17 Posts

Posted - 2009-04-20 : 17:52:35
Hi

I would like to know if it is possible to exprt a | delimited .txt file to a .csv file. If so how?

Thanks

Greg

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-04-20 : 17:54:17
Just rename the extension of the txt file to a csv file as a csv file is just a text file with a different extension. Then do a find/replace of the | to a comma.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -