Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

compiling invalid objects

867337Jan 23 2012 — edited Feb 4 2012
Hi

I am using the following query for findout Invalid views.
select creator,name,check 
from sysbac.sysview 
where valid <> 'Y' with UR;
I will get all invalid views..But I have to re-compile all views in a single statement. is it possible? Now I am taking every view name and open the sql script and reexcuting. If I have more than 10 views..it is very difficult.

Can you please provide me a solution on this..!!!

Thanks alot in adv.

Regards
Sa
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2012
Added on Jan 23 2012
10 comments
4,297 views