Hi together,
a few minutes ago I had a discussion with my boss and want now more meanings, if I am wrong or he is.
Following problem is given: After a fast change from a colleague a stored procedure went wrong. (I think for the theory here is no more information requiered)
We decide to provide the correct version in an Update Script:
IF EXIST PROCEDURE X .... DROP PROCEDURE X .... CREATE PROCEDURE X ....
For the DBO that the correcture will be execute, we must (should) prepare an rollback mechanism. My Boss comes to me and ask me for preparing an rollback script. I tell him, that we don't have one: Because when the main script failed, there is no option. It went now completly wrong, we can't rollback to the wrong one. It's senseless.
He told me, that we need it and it is not senseles..
When I asked for a reason, he goes away.
I am wrong?