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.
Author |
Topic |
bfunny21
Starting Member
4 Posts |
Posted - 2011-03-18 : 12:38:50
|
i m creating this file from temp table using ssis ... sql server 2005..i m writing a Sql query on the oledb source to get this file ... i have the correct file with header , details and record but i m not able to include this row count in my trailer row.... how to do this ...here are two tables which are the building blocks of this query.. suppose table A asaccount_num account_cost111 1000112 2000table B asaccount_number Transaction_num trans_date111 123 03/11/2011111 234 03/12/2011112 999 03/07/2011112 888 03/14/2011and i want my txt file output asHeaderrow as date 031711111 10001111230311201111123403122011112 20001129990307201111288803142011trailerrow as 031711 and number of record is 6 |
|
|
|
|