Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Formatting Text Extracts out of SSIS Expand / Collapse
Author
Message
Posted Friday, September 13, 2013 4:59 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, March 26, 2014 5:09 PM
Points: 178, Visits: 579
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
Post #1494762
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse