How can I generate the DDL script for my object with DBMS_METADATA.GET_DDL
without the schema name baked in?
With DBMS_METADATA.GET_DDL
:
CREATE TABLE "MYSCHEMA"."MYTABLE"
(
"COL1" NUMBER(10,0)
)
SQL Developer can do that, and I think it's also uses the DBMS_METADATA to achive this goal and generale DDL scripts.
With SQL Developer:
CREATE TABLE "MYTABLE"
(
"COL1" NUMBER(10,0)
)