|
|
|
|
|
by taffer
2420 days ago
|
|
> and it can have function calls you don't know about because its body could dispatch just like triggers do. Please give an example of a stored procedure that does something else than what the code says it will do. > This whole thing [...] is not based on anything other than taste. Good taste: Insert, update and delete doing exactly what the statement says. Procedures doing exactly what the code says. Bad taste: Insert, update and delete surprising you with magic tricks. |
|
> Please give an example of a stored procedure that does something else than what the code says it will do.
That's not what I wrote. I wrote that the caller of an SP need not know anything about the SP's body any more than the caller of a DML need not know anything about triggers. Of course that is true. And of course it's also true that the caller could know all those details in either case.