AUTHID Change Script

  • From: "Lange, Kevin G" <kevin.lange@xxxxxxxxx>
  • To: "Oracle-L@xxxxxxxxxxxxx" <Oracle-L@xxxxxxxxxxxxx>
  • Date: Fri, 8 Apr 2016 22:22:55 +0000

Evening all;
  I was wondering if anyone out here might already have a script to change the 
authid from definer to current_user on all Procedures, Functions, types, and 
packages that exist in a database with an AUTHID of definer?

We find that we have a number of these in multiple databases and instead of 
opening them up by hand and editing every one of them, I was hoping for an 
existing script/procedure that could to that for us.

Oracle Version: 10.2.0.4

Appreciate any help.

Kevin

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

Other related posts: