Details
-
Technical task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
xmltype should become longtext
MariaDB [test]> CREATE TABLE warehouses( |
-> warehouse_id NUMBER(3),
|
-> warehouse_spec XMLTYPE,
|
-> warehouse_name VARCHAR2(35),
|
-> location_id NUMBER(4));
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'XMLTYPE, |
warehouse_name VARCHAR2(35),
|
location_id NUMBER(4))' at line 3 |
XML related functions need to be available to support Oracle Migrations
SELECT RTRIM (XMLAGG (XMLELEMENT(e, stn.DOP || ' ') ORDER BY stn.dop).EXTRACT ('//text()'), ',') AS dop FROM Tab; |
Oracle Docs:
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions215.htm
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions220.htm