Search notes:

ORA-01027: bind variables not allowed for data definition operations

declare
   n     number := 42;
begin
   execute immediate q'[
      create table tq84_ora_01027 as
      select
         :n  as n
      from
         dual
   ]'
   using n;
end;
/

See also

Bind variables
DDL statements
Other Oracle error messages

Index