Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

who does a package run as

Status
Not open for further replies.

Toe

Programmer
Oct 26, 2001
71
GB
am i correct in assuming a package runs as the user that it is compiled (ie. owned) by?

ie. it is the owner of the package that needs the rights on the tables and not the user running it?
 
It depends whether you use the "authid current_user" or "authid definer" flag when you create the procedure. The default is definer, which means it runs under the privileges of the owner.
 
thanks, that answers my question. (i was sure i'd seen instances of both)

andy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top