Last updated on MARCH 02, 2017
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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 184.108.40.206. The SQL*Plus tool can not handle the scripts created by DBMS_METADATA.GET_DDL.
1. Create the type:
Expected output since 220.127.116.11:
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