Hi Guys,
I Need Ideas about have to build this issue, maybe you got good sugestions...
The thing is that I need to create a File using Pipes "|" delimiters, for example like this:
CFD|2.0||5847|012345678901234567890|4598|2007|ABC|A|1|20/09/2007|15:12:03|
First I thought in create a SQL Table or View that Had all the information that I needed, then use DTS and create my file... And it works!!! but here in this file I have Header and Detail Information like this
Header1|Header1|Header1|Detail1|Detail1|Detail2|Detail2|Detail2|Detail3|Detail3|
*Note different Details and one header*
And of course I couldn't create only one sql table because it repeats the Header in every row that I have for detail, I Mean:
Field1 Field2 Field3 Field4
Header1, Header1, Detail1, Detail1
Header1, Header1, Detail2, Detail2, etc....
and If I export this to text file it repeats the header in every text row when I know that I use the header just once...
Any suggestions guys?
I appreciate your help and I hope I explain myself
Regards
MR
I Need Ideas about have to build this issue, maybe you got good sugestions...
The thing is that I need to create a File using Pipes "|" delimiters, for example like this:
CFD|2.0||5847|012345678901234567890|4598|2007|ABC|A|1|20/09/2007|15:12:03|
First I thought in create a SQL Table or View that Had all the information that I needed, then use DTS and create my file... And it works!!! but here in this file I have Header and Detail Information like this
Header1|Header1|Header1|Detail1|Detail1|Detail2|Detail2|Detail2|Detail3|Detail3|
*Note different Details and one header*
And of course I couldn't create only one sql table because it repeats the Header in every row that I have for detail, I Mean:
Field1 Field2 Field3 Field4
Header1, Header1, Detail1, Detail1
Header1, Header1, Detail2, Detail2, etc....
and If I export this to text file it repeats the header in every text row when I know that I use the header just once...
Any suggestions guys?
I appreciate your help and I hope I explain myself
Regards
MR