Many thanks Johan,

i have trouble to get you example running

This i added to the code.

DBMS_DDL := OraclePackage.Create(NIL);
DBMS_DDL.Session := MySession;
DBMS_DDL.Name := 'DBMS_DDL'; ??


If i execute CallProcedure i get an error:

Identifier 'ALTER_COMPILE' must be declared.
[...]

But an exec dbms_DDL.alter_Compile (..)
on the plsql/dev command shell works.

I have to miss something very obvious [Linked Image].

Any ideas?

Thanks in advance
Sven


Greetings,
Sven