Solved

views and grants

Posted on 2012-03-23
3
373 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)
ID: 37757171
As long as you create or replace view, existing grants remain in place.  No need to regrant permissions.
0
 

Author Comment

by:mahjag
ID: 37757862
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
ID: 37757873
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Encryption Decryption in Oracle 12 122
query in Oracle forms Builder 2 53
oracle RMAN - trying to duplicate a database 5 30
SQL2016 to ORACLE11G linked-server 6 15
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

810 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