Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is definer rights invoke rights?



what is definer rights invoke rights?..

Answer / swapna

Definer Rights
--------------

A routine stored in the database by default, is executed
with the definer rights (owner of the routine), depending
on the user who calls it.

For example, table "Test" belongs to schema A. User A
creates a procedure PR_TEST allowing for updates of a
table. User B is granted execute privileges on the
procedure. Now user B cannot access the table as no
privileges have been granted, but can call the procedure to
do the required process logic for updating the table.

Invoker Right

-------------
With Oracle 8i, there is no need for this duplication of
code. A single compiled program unit can be made to use
schema A's objects when invoked by User A and schema B's
objects when invoked by User B.

This way, we have the option of creating a code repository
in one place and sharing it with various production users.
The owner of the routine must grant EXECUTE privilege to
other users.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Why is %isopen always false for an implicit cursor?

0 Answers  


How do rank () and dense_rank () differ?

0 Answers  


How do you declare a constant?

0 Answers  


What is cursor and why it is required?

0 Answers  


How to display the contents of a current record fetched in a reference cursor?

2 Answers  


What is the syntax and use of the coalesce function?

0 Answers  


Enlist the characteristics of pl/sql?

0 Answers  


Is sql free?

0 Answers  


What is the difference between the conventional and direct path loader? : aql loader

0 Answers  


How to start oracle sql developer?

0 Answers  


what does the t-sql command ident_incr does? : Transact sql

0 Answers  


Is it possible to read/write files to-and-from PL/SQL?

0 Answers  


Categories