Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Exporting data to text file with multiple queries

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-31 : 22:50:38
Santosh writes "Hi,
I can export data from sql server to text file with specifying delimiters for a column. I have two tables; table1, table2. Now I want to export whole the data from both the tables into a single text file one after another. How Can I? Can we specify more than one query forexporting data while using exporting utility of sql server

Reply is greatly appreciated.

Thanks,
Santosh V"

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2002-03-31 : 22:50:38
Use a UNION statement (http://www.sqlteam.com/item.asp?ItemID=239).
Go to Top of Page
   

- Advertisement -