ERROR | Host variables are not permitted within a DDL statement |
CAUSE | A Data Definition Language statement cannot use host variables. For example, the statement CREATE TABLE : table_name (c1 char(10)); is illegal, because the name of the table in a CREATE TABLE statement cannot be represented using host variable. |
ACTION | Use dynamic SQL to create the names of database objects (tables, views, columns, etc.) at runtime. See the Programmers Guide to the Oracle Precompilers, Release2.2 for information about dynamic SQL. |