Search This Blog

call DDL statements from PL/SQL

begin

EXECUTE IMMEDIATE 'CREATE TABLE X(A DATE)';

end;

NOTE: The DDL statement in quotes should not be terminated with a semicolon.