![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
It doesn't matter that the tables have differing structures if you want to export a query containg columns from each of them.. Do you want the text file to look something like this though col1, col2.col3 1,2,3 2,3,4 col1,col2,col3,col4 1,2,3,4 4,5,6,7 8,9,8,7 col1,col2,col3,col4,col5 1,2,3,4,5 2,3,4,5,6 For this solution I would pump each table to a seperate text file then use the DOS COPY command COPY file1.txt + file2.txt + file3.txt FileAll.txt -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know "Eduardo Greco" <Eduardo Greco (AT) discussions (DOT) microsoft.com> wrote in message news:81AE19CF-D053-4F26-AE1F-528BBE1F1574 (AT) microsoft (DOT) com... I want to create one text file, but the data come from different tables with different structures. For example, table1 with two fields whereas table2 has three fields. How to use DTS to create this single text file. Thanks for helping... |
#2
| |||
| |||
|
|
I want to create one text file, but the data come from different tables with different structures. For example, table1 with two fields whereas |
|
How to use DTS to create this single text file. Thanks for helping... |
![]() |
| Thread Tools | |
| Display Modes | |
| |