DBMS_METADATA.GET_DDL Creates Odd Output For Object Types
Last updated on MARCH 02, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
DBMS_METADATA.GET_DDL creates odd output for object types in conjunction with ALTER TYPE definitions since 220.127.116.11. The SQL*Plus tool can not handle the scripts created by DBMS_METADATA.GET_DDL.
1. Create the type:
Expected output since 18.104.22.168:
CREATE OR REPLACE TYPE "REMOS"."T_TEST" AS OBJECT (id NUMBER(6) );
ALTER TYPE "REMOS"."T_TEST" ADD ATTRIBUTE testname VARCHAR2(30) CASCADE
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms