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 2005 Forums
 Transact-SQL (2005)
 Header and Trailer

Author  Topic 

vincible
Starting Member

6 Posts

Posted - 2010-05-13 : 09:27:46
Thanks to all for viewing my earlier Post:
Need an urgent help to add Header and Trailer in the Sql extract using T-Sql. The format should be :
1)Header: 999999999+Filename+CurrentDate
2)Detailed Records
3)Trailer :99999999+No.of Records in the extract.

For ex.

0000000000INMSFTACBS20090413 <--Header Information
ATM Automated Teller Machine
ACQUIRING Merchant Payments
PREPAID Closed Loop Gift Cards
888888888000000003 <-Trailer:888888+No.of records in extract


Thanks,
Nitin
   

- Advertisement -