Solved

views and grants

Posted on 2012-03-23
3
365 Views
Last Modified: 2012-03-23
Hi

I have existing view in oracle that I am altering and adding some columns - the existing view has grants in the script - after my alter view should I regrant the views or dont have to re-grant - how does that work?
0
Comment
Question by:mahjag
  • 2
3 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
As long as you create or replace view, existing grants remain in place.  No need to regrant permissions.
0
 

Author Comment

by:mahjag
Comment Utility
Thanks Slighwv - I do have create or replace statement - does that mean the replace will replace the grants are well?
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 150 total points
Comment Utility
No.  Replace only replaces that specific object.  Grants do not need 'replaced'.  The grants will remain as they are as long as the object is never dropped.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now