Details

    • Type: Technical task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data types
    • Labels:

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              manjot Manjot Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: