Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Tools > Re: Recompiling...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 13 Topic 2680 of 2833
Post > Topic >>

Re: Recompiling invalid objects with a batch file

by DA Morgan <damorgan@[EMAIL PROTECTED] > Dec 4, 2007 at 10:01 PM

Ubiquitous wrote:
> Is there a way to write a sqlplus batch file to "recompile all invalid
> objects", or at least compile a specific object? I know the capacity 
> exists in TOAD but I have no idea what's going on behind the scenes...
> 
> Thanks!

No reason to make it difficult on yourself:

SQL> @[EMAIL PROTECTED]
 if you prefer:

UTL_RECOMP
http://www.psoug.org/reference/utl_recomp.html
which allows you to compile in parallel or serial fa****on.

or if you prefer:

DBMS_UTILITY.COMPILE_SCHEMA
http://www.psoug.org/reference/dbms_utility.html

No need to reinvent the wheel.
-- 
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Wa****ngton
damorgan@[EMAIL PROTECTED]
 (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
 




 13 Posts in Topic:
Recompiling invalid objects with a batch file
Ubiquitous <weberm@[EM  2007-12-05 00:24:04 
Re: Recompiling invalid objects with a batch file
DA Morgan <damorgan@[E  2007-12-04 22:01:27 
Re: Recompiling invalid objects with a batch file
Ubiquitous <weberm@[EM  2008-06-02 11:09:39 
Re: Recompiling invalid objects with a batch file
DA Morgan <damorgan@[E  2008-06-02 12:47:08 
Re: Recompiling invalid objects with a batch file
Ubiquitous <weberm@[EM  2008-06-03 15:35:12 
Re: Recompiling invalid objects with a batch file
gazzag <gareth@[EMAIL   2008-06-02 09:14:20 
Re: Recompiling invalid objects with a batch file
gazzag <gareth@[EMAIL   2008-06-04 02:51:21 
Re: Recompiling invalid objects with a batch file
"Shakespeare" &  2008-06-04 12:59:22 
Re: Recompiling invalid objects with a batch file
gazzag <gareth@[EMAIL   2008-06-04 03:01:31 
Re: Recompiling invalid objects with a batch file
"Gerard H. Pille&quo  2008-06-10 23:00:49 
Re: Recompiling invalid objects with a batch file
gazzag <gareth@[EMAIL   2008-06-04 04:03:03 
Re: Recompiling invalid objects with a batch file
santosh.gaikwad@[EMAIL PR  2008-07-11 07:20:47 
Re: Recompiling invalid objects with a batch file
DA Morgan <damorgan@[E  2008-07-11 07:45:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 20:16:34 CST 2008.