Hi,
I have a simple form which involves INSERT, UPDATE, SELECT and DELETE functions. I want to write these queries in stored procedure.
I want to know which is the best practice from the following.
1. Create separate SP for each action which would result 4 SPs for this single form
2. Keep all the queries in a same stored procedure and pass a flag to run a single query at a time
Thanks in advance for the ideas.
Thanks,
Ram
My Blog