Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / XML
 

Creation of tables using XMLType data type and set the xml schema

SQL> SQL> CREATE TABLE xml_or (   2     id    NUMBER PRIMARY KEY,   3     doc   XMLTYPE)   4     XMLTYPE doc STORE AS OBJECT RELATIONAL   5        XMLSCHEMA "http://127.0.0.1/xdoc.xsd"   6        ELEMENT "doc"   7  /