HoustonGuy
Programmer
I've got about five scripts that perform different tasks that finally generate a flat file in the end.
I need to move these to Stored Procedures so they can be used by others. What's the best practice for this?
Do I trigger all of the SPs from one main SP?
From one main SP
EXEC sp_1
EXEC sp_2
EXEC sp_3
EXEC sp_4
EXEC sp_5
Also, what is the best method for relaying success/failure for each SP back to me? (Something that tells me SP1 was successful or the error, SP2 was successful or the error, and so on.)
Rudimentary question, but just wanted to make sure I was using the best practice for this task.
Thanks!
I need to move these to Stored Procedures so they can be used by others. What's the best practice for this?
Do I trigger all of the SPs from one main SP?
From one main SP
EXEC sp_1
EXEC sp_2
EXEC sp_3
EXEC sp_4
EXEC sp_5
Also, what is the best method for relaying success/failure for each SP back to me? (Something that tells me SP1 was successful or the error, SP2 was successful or the error, and so on.)
Rudimentary question, but just wanted to make sure I was using the best practice for this task.
Thanks!