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
 SQL Server Development (2000)
 Output to be stored in text file..

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-09-01 : 13:12:42
Parag writes "Hi ,

I just want to know , how to create a text file using ms sql server ?

I am using ms sql server ver 7.0

I have one table in which there are two columns called reg_code and cust_code.

i want to print the list of all the customers for all regions.

the output text file should be like :

Region 1
cust1
cust2
region 2
cust3
cust6
region 3
cust4
cust10

Can anyone help me about this ?"
   

- Advertisement -