[Last Call] Learn how to a build a cloud-first strategyRegister Now


how can i export sql data with tab space in the columns by using SSIS

Posted on 2014-08-13
Medium Priority
Last Modified: 2016-02-11
 i try to export some data to a text file by using SSIS, the problem is there is a Text column  with a tab space, and when i try to export that Text column, the tab cause the problems.

the table column [note]
[note] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[note] text_stream[DT_text]
and the column delimiter is Tab{t}

is any way to avoid this, such change the note data in sql without tab or in SSIS column delimiter.

thanks for you helps
Question by:tristonyip
LVL 66

Accepted Solution

Jim Horn earned 2000 total points
ID: 40258777
>there is a Text column  with a tab space, and when i try to export that Text column, the tab cause the problems.
So, your only options here are
Remove the tabs from the data via REPLACE(your_column, CHAR(9), ' '), or
Change the delimeter to something that is not in the data, such as pipe |

Author Comment

ID: 40258826
i got this error when i try to run replace function, thanks

Argument data type text is invalid for argument 1 of replace function.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Over the last 2 years, I have been working on SSIS 2008. Really the tough tasks in SSIS are to deploy packages and pass parameters (Values from outside package). The latter is certainly a headache for developers, particularly for me. We had to ma…
My client has a dictionary table. They're defining a list of standard naming convention. Now, they are requiring my team to provide us a mechanism how to match new incoming data with existing data in their system.
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