Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: Appending a txt file through tsql

    Many thanks for the tip, I used the following:

    xp_cmdshell 'echo Hello World > c:\Filename1.txt' ----to create file

    xp_cmdshell 'echo Hello Again > c:\Filename2.txt' ----to create file

    xp_cmdshell 'copy /B c:\Filename1.txt + c:\Filename2.txt...

Viewing post 1 (of 2 total)