![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a process where I need to create a fixed length text file with a header section, details section, and a trailer section. I created a DTS package that created the individual sections, then from a job created for the DTS concatenated the three files together and ftp'd it to a mainframe. This all worked great until they wanted the detail section grouped and a sequence number put on one of the fields. The only way I could figure out how to do it was by dumping the data into a temporary table then use a cursor to go through the records one at a time comparing my identifier and adding a sequence number if it was the indentifier was the same. This works great in Query Analyzer, but then when I move the detail into the package it complains about the temp table. How do I resolve this? Can I not create and use a temporary table in a DTS package? |
![]() |
| Thread Tools | |
| Display Modes | |
| |