PL/SQL using dbms_metadata.open('TABLE_EXPORT') does not exclude constraints from create table DDL..
However, I don't want any constraint defenitions (primary, ref) as part of the CREATE TABLE statement. I've tried the following script, but it gives me the following error.
ORA-31600: invalid input value CONSTRAINTS for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7783
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7754
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7754
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7754
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8850