Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Gautam.
Asked: July 09, 2018 - 5:46 pm UTC
Last updated: July 12, 2018 - 10:21 am UTC
Version: 11.2.0.4.8
Viewed 1000+ times
create table t ( x int ); insert into t values ( 1 ); commit; create public synonym t for chris.t; grant select on t to u; create or replace procedure u.p as begin for rws in ( select * from t ) loop dbms_output.put_line ( rws.x ); end loop; end p; / conn u/u exec p; 1 conn chris/chris drop table t cascade constraints purge; conn u/u exec p; ORA-06550: line 1, column 7: PLS-00905: object U.P is invalid conn chris/chris create table t ( x int ); insert into t values ( 1 ); commit; grant select on t to u; conn u/u exec p; 1
Need more information on Administration? Check out the Administrators guide for the Oracle Database