I'm working on an automation to generate the ddl automatically. Ofcourse I'm using DBMS_METADATA.GET_DDL to get the same. It works fine. Now I need help on the following.
Assume TableA is already there in the database with three column COLA,COLB & COLC
Lets say I've modified the table by adding another column COLD
Now I wanted to generate the below script automatically,
ALTER TABLE TABLEA ADD COLUMN COLD VARCHAR2(100);
Suggest me a way to accompolish the same.