I have a dts command that creates a comma delimited flat file. It puts it out with a CSV extention so Excel can read it.
I need to append headers to the TOP of this file. Is there any way to do this? I tried:
Using and axtivex script to do a dos copy command - no work.
The command is Copy Header.csv+DBFile.csv NewFile.csv
I can not use an execute process command because sql server can not find the copy command because it's part of the operating system and not an exe.
Any ideas?
Can I open the file with an AX script and write to the top of the file?
I need to append headers to the TOP of this file. Is there any way to do this? I tried:
Using and axtivex script to do a dos copy command - no work.
The command is Copy Header.csv+DBFile.csv NewFile.csv
I can not use an execute process command because sql server can not find the copy command because it's part of the operating system and not an exe.
Any ideas?
Can I open the file with an AX script and write to the top of the file?