Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

I just googled but could not get the right solution.

I want to write the text file using stored procedure with errors.
I have about 64 delete statements in sp. After executing each statement
if there is error i have to write that error in .txt file using SP.
Otherwise i have to write the affected record count from delete statement.
How to do that? How to create the .txt file using SP?

Thanks in advance.
Posted

1 solution

This link [^] will help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900