When creating a stored procedure or function with the IF NOT EXISTS optional clause included, the option text is currently included in the saved source code for the procedure. This is not true of any other database object created with the IF NOT EXISTS clause included!
This should be changed such that the optional clause is removed before saving the procedure source code in sysprocbody.
|Who would benefit from this IDEA?||Any Informix user who takes advantage of third party tools and even some IBM tools to manage their database schema.|
How should it work?
This can confuse some software, both IBM and third party, written to analyse and support Informix and is not necessary to be saved as its addition does not change the understanding of the procedure source nor how it was created. The very fact that the source with that text was saved indicates that the procedure did not exist at the time it was last created which would be true and the only valid inference even without that text.
Similarly, when the behavior of CREATE OR REPLACE PROCEDURE/FUNCTION is fixed, that syntax should also not be saved as it also does not add to the understanding of the routine's creation and will further break third party tools.
|Priority Justification||This has already affected existing users using third party tools to migrate their databases to new systems and/or migrate schema changes from development to test and production systems.|
|Customer Name||Many including Equifax|
NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "email@example.com" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions