Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27505

sql_mode="oracle" cannot declare variable as constant

    XMLWordPrintable

    Details

      Description

      'CONSTANT' keyword in variable declaration is not supported.

      CREATE or replace  PROCEDURE FF_POSITION_BACK_PROC
      (
        G_RET_CODE VARCHAR2
      ) AS
        G_PGMID         VARCHAR2(30) := 'FF_POSITION_BACK_PROC';
        G_PROC                  VARCHAR2(250);
       
        G_ZERO          CONSTANT NUMBER := 0;          
       
      BEGIN
       
      null;
       
       
      END FF_POSITION_BACK_PROC;
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            manjot Manjot Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.