Hi All,
I am looking to generate the XML using the dbms metadata ppackage.The XML elements should contain table name,columns with respective data types and constraints alone instead of having entire table information in XML file .The lines of the XML contains 600lines where it contains all the metadata information about the table .I would like to apply filter option for the package below and to get the elements like table name, columns with respective data types and constraints only and not other information in XML.
select dbms_metadata.get_xml('TABLE','test123','schema') from dual .
I would like to pass arguments which should give me table name, column list with data types and constraints and schema name alone in XML file.
From the generated ddl XML file, I will create avro schema using python from my end .
Thanks
Adhi