![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a way to output header and trailer info when exporting a text file when using a DTS package? Any suggestions? Has anyone done this |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Personally I would export to 3 files Header.txt Data.txt Footer.txt I would then do COPY Header.txt + Data.Txt + Footer.txt AllTogether.txt -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "softrock" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:E8C305C1-AF64-4D82-980F-1ECC140CBBF3 (AT) microsoft (DOT) com... Is there a way to output header and trailer info when exporting a text file when using a DTS package? Any suggestions? Has anyone done this before? |
#5
| |||
| |||
|
|
I have seen some documentation about writing headers in the "pre source data" phase of a multi-phase DTS pump, but was never able to get it working. Allan...have you done anything like that? -- Kevin Hill President 3NF Consulting www.3nf-inc.com/NewsGroups.htm www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs. "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:%23dJiJKmSEHA.3596 (AT) tk2msftngp13 (DOT) phx.gbl... Personally I would export to 3 files Header.txt Data.txt Footer.txt I would then do COPY Header.txt + Data.Txt + Footer.txt AllTogether.txt -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "softrock" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:E8C305C1-AF64-4D82-980F-1ECC140CBBF3 (AT) microsoft (DOT) com... Is there a way to output header and trailer info when exporting a text file when using a DTS package? Any suggestions? Has anyone done this before? |
#6
| |||
| |||
|
|
I have seen some documentation about writing headers in the "pre source data" phase of a multi-phase DTS pump, but was never able to get it working. Allan...have you done anything like that? |
#7
| |||
| |||
|
|
In message <urK1j$mSEHA.3580 (AT) TK2MSFTNGP09 (DOT) phx.gbl>, Kevin3NF KHill (AT) NopeIDontNeedNoSPAM3NF-inc (DOT) com> writes I have seen some documentation about writing headers in the "pre source data" phase of a multi-phase DTS pump, but was never able to get it working. Allan...have you done anything like that? Has anyone got a working example of this method? Never got it working myself. -- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com PASS - the definitive, global community for SQL Server professionals http://www.sqlpass.org |
![]() |
| Thread Tools | |
| Display Modes | |
| |