Can the user choose (for at least Stored Procs & Functions) to choose an update script that either has ALTER or IF EXISTS DROP/CREATE for objects with differences - as has been promised so many times in the past?
Comments
33 comments
-
I have run into this issue on numerous occasions. We have functions that call themselves recursively. If you add a parameter to the function that calls itself, simply doing an alter function will not work because it will give you an error that "the procedure or function has too many arguments specified".
If you drop and create the function, it will create it properly. -
The latest 9.5 Beta has options to add existence checks and DROP/CREATE.
More details here:
http://www.red-gate.com/MessageBoard/vi ... hp?t=14113
Please give it a go and let us know if this meets your requirements.
David Atkinson
Product Manager
Red Gate Software -
The latest 9.5 Beta has options to add existence checks and DROP/CREATE.
More details here:
http://www.red-gate.com/MessageBoard/vi ... hp?t=14113
Please give it a go and let us know if this meets your requirements.
David Atkinson
Product Manager
Red Gate Software
Add comment
Please sign in to leave a comment.