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)
 DTS Flat File Creation

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-02-28 : 07:42:51
Ryan writes "I need to create a file with static header info (first record), result set from a query and static trailer info (last record). Here is an example:

Header Info (Record 1)
Results from query (record 2)
Results from query (record 3)
...
Trailer Info (Record n)

What is the best way to do this? I can create a file with just the results from a query, but I can't figure out how to get the header and trailer info into the file. HELP!"
   

- Advertisement -