Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 404
  • Last Modified:

views and grants

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
mahjag
Asked:
mahjag
  • 2
1 Solution
 
slightwv (䄆 Netminder) Commented:
As long as you create or replace view, existing grants remain in place.  No need to regrant permissions.
0
 
mahjagAuthor Commented:
Thanks Slighwv - I do have create or replace statement - does that mean the replace will replace the grants are well?
0
 
slightwv (䄆 Netminder) Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now