SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Formatting Text Extracts out of SSIS


Formatting Text Extracts out of SSIS

Author
Message
sqlnewbie17
sqlnewbie17
Mr or Mrs. 500
Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)

Group: General Forum Members
Points: 563 Visits: 1288
I have generated around 200 text extracts out of SSIS.All of them in tab delimited format.


eX:
Column Names:
A B C D E F G H I J K L M

Columns A through G have data under them.
H through M have not data.
This is how the data looks like when I print these files:
Sample data:
111111|AAAAA,BBBBBB L|22.22-ABCDEFGHHH|08/27/10|AB|WWWWWW |||||||

I need the data to look like this:
111111|AAAAA,BBBBBB L|22.22-ABCDEFGHHH|08/27/10|AB|WWWWWW | | | | | | |

So that they look like empty spaces under their respective columns which can be used to print yes or no in those blank spaces.How do I achieve this?
I tried exporting the data into Excel but every printout has a standard text to be displayed at the top before printing the actual data under the columns resulting in haphazard text when exported to excel.I cannot open each file manually and check or format if the data is not aligned properly as all these extracts go to a folder and need to be printed out automatically to a network printer.
Please advise.
Can I do it through SSIS?Please suggest
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search