How to use DDL or DML within PL/SQL Block March 28, 2014 SET SERVEROUTPUT ON DECLARE TBSTMT VARCHAR2(2000):='CREATE TABLE DEMO (ID NUMBER,MSG VARCHAR2(20))'; BEGIN EXECUTE IMMEDIATE TBSTMT; END; Read more