IBM Data & AI

Welcome to the idea forum for IBM Data & AI (Formerly Analytics) Clients! 

 

IBM Employees:

The correct URL for entering your ideas is https://hybridcloudunit-internal.ideas.aha.io

 

Clients:

Our team welcomes any feedback  and suggestions you have for improving our offerings / products!  This forum allows us to connect your offering / product improvement ideas with IBM product and engineering teams.

 

If you have not registered on this portal please click on the following link and register.  To complete registration you will need to open the email you will receive from Aha to confirm your identity.  https://ibm.biz/AnalyticsIdeasPortalRegister

 

Ability to re-create views and procedures without dependent objects being dropped

Some objects in a database often depend on other. As an example, if there is a view, another view can be built upon it.
Private and public synonyms can be created for those views, and permissions given to various users on those views.
If the first view needs to be recreated (change of code), it needs to be dropped and created again.
When it is dropped, all of the dependent objects are consequently dropped - the other view, all the related synonyms and permissions, and so on, recursively.
The DBA has no warning of it happening, and later has to guess or use any other complex method to conclude which objects were dropped
and has to recreate all of them.

What is needed is some kind of ALTER VIEW statement (or CREATE OR REPLACE), that will recreate only the view at hand, without dropping dependent objects.

There is a similar situation regarding stored procedures: recreating a procedure or function means all the permissions on it getting dropped.

In an environment with many database users where access control is implemented with views, private synonyms and stored procedures, ALTER VIEW and ALTER PROCEDURE would really cut a lot of DBA work.
  • Guest
  • Dec 24 2018
  • Future Consideration
Why is it useful?
Who would benefit from this IDEA?
How should it work?
Idea Priority Medium
Priority Justification
Customer Name University Computing Centre
Submitting Organization
Submitter Tags
  • Attach files

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 "anonymous@euprivacy.out" 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