Details

    • Technical task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Data types

    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

          manjot Manjot Singh (Inactive) created issue -
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Component/s Data types [ 13906 ]
          serg Sergei Golubchik made changes -
          Labels Compatibility
          manjot Manjot Singh (Inactive) made changes -
          Epic Link MDEV-19162 [ 74215 ]
          manjot Manjot Singh (Inactive) made changes -
          Epic Link MDEV-19162 [ 74215 ]
          manjot Manjot Singh (Inactive) made changes -
          Parent MDEV-19162 [ 74215 ]
          Issue Type Task [ 3 ] Technical task [ 7 ]
          Faisal Faisal Saeed (Inactive) made changes -
          Description xmltype should become longtext


          {code:sql}
          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
          {code}
          xmltype should become longtext


          {code:sql}
          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
          {code}

          XML related functions need to be available to support Oracle Migrations

          {code:sql}
          SELECT RTRIM (XMLAGG (XMLELEMENT(e, stn.DOP || ' ') ORDER BY stn.dop).EXTRACT ('//text()'), ',') AS dop FROM Tab;
          {code}

          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
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 94198 ] MariaDB v4 [ 141234 ]

          People

            Unassigned Unassigned
            manjot Manjot Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.