drop invalid procedure
hi
plz. check it out i want to drop all invalid procedure through plsql
SQL> begin
2 for dd in ( select object_name from user_objects where status = 'INVALID' a
nd object_type = 'PROCEDURE') loop
3 execute immediate 'DROP PROCEDURE'||dd.object_name;
4 end loop;
5 end;
6 /
begin
*
ERROR at line 1:
ORA-00950: invalid DROP option
ORA-06512: at line 3
if u have any other coding for this query plz. send me
thanx
regards
mohammadi