Create text file from stored procedure

  • Hello friends!

    Is there a way to create a text file with T-SQL code?

    I have to create a stored procedure that write  traces (messages)  into a text file.

    Is there a way ?

    Thanks!!!

    Bay bay ,

            Flavio

  • Flavio,

    Research BCP from BOL.  Should be able to provide everything you need.



    Good Hunting!

    AJ Ahrens


    webmaster@kritter.net

  •  

    AJ Ahrens,

    Thank you very mutch!

    Bay bay,

      Flavio

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply