Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-10764 PL/SQL parser - Phase 2
  3. MDEV-10342

Providing compatibility for basic SQL built-in functions

    XMLWordPrintable

    Details

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

      Description

      Support the following basic SQL built-in functions in MariaDB:

      • DECODE(exp, when, then, ...)
      • NVL(exp, replacement)
      • NVL2(exp1, exp2, exp3)
      • TRUNC(date [,fmt])
      • TO_CHAR

        TO_CHAR(10)
        TO_CHAR(SYSTIMESTAMP,'DDMMYYYYHH24MISSFF')
        TO_CHAR(BIZ_DATE,'yyyymmdd')
        

      • TO_DATE(str [, fmt [, 'nlsparam']])
      • SYSDATE
      • SYSTIMESTAMP
      • USER

      Note, DECODE, NVL, NVL2, SYSTIMESTAMP are not reserved keywords in Oracle, while USER and SYSDATE are.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              dmtolpeko Dmitry Tolpeko
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: