Your only choice (limited) is do not create standalone procedures ... package them. But Wait there is more ....
 
no matter what you create ... procedure/function/package if it is being executed, you can't compile it. Who makes changes in live production environment (other than us) anyways ... ??
 
What you want to do is capture ORA-4068 and retry the code that raised the error. Trust me, it is not trivial, especially if it happens when you are in middle of a transaction.
 
Raj
______________________________________________________

Rajendra Jamadagni              MIS, ESPN Inc.

Rajendra dot Jamadagni at ESPN dot com

Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art!

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 1:29 AM
To: Multiple recipients of list ORACLE-L
Subject: Online recompilation of SP


Dear all,

Is there any means of changing the body of a SP and
recompiling it while there "could" possibly be some
sessions accessing it. We have such a req in our appln
wherein the recreation shouldn't affect ongoing applns
that might access the same SP.

T I A.

Best Regards
Jai
*********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*********************************************************************1


Reply via email to