Store an XMLType type data in clob : XMLTYPE « XML « Oracle PL/SQL Tutorial






SQL> CREATE TABLE myTable
  2    (myID            NUMBER PRIMARY KEY,
  3     myValue     XMLTYPE )
  4     XMLTYPE myValue STORE AS CLOB
  5  /

Table created.



SQL>
SQL> drop table myTable;

Table dropped.

SQL>
SQL>








33.4.XMLTYPE
33.4.1.XMLTYPE column
33.4.2.Use sys.xmltype.createxml to add XML data to table
33.4.3.Retrieve value from SYS.XMLTYPE column
33.4.4.Individual fields from the XMLTYPE'd column may be found using the EXTRACTVALUE function like this:
33.4.5.Creation of tables using XMLType data type and set the xml schema
33.4.6.Insert xml document to a XMLType column with xmltype function
33.4.7.PL/SQL ability to access text within an XML document in the database
33.4.8.Query xmltype column
33.4.9.Store an XMLType type data in clob
33.4.10.Use value function with single xmltype table
33.4.11.Use xmltype to convert xml string to xmltype data