Write the output of a delete stored procedure to output file

  • Hi,

    I have a stored procedure running as a scheduled task that deletes rows from a particular table. I tried in the step, outputing the results to a file to see if it would tell me how many rows are deleted but it does not. Is there anyway for me to output the number of rows deleted to a flat file?

     

    Thanks,

    Jessica

  • Hi

    You can do a print on the count to the file

    Edit the code to have a @varible to the count the PRINT it

    regards

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

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