Details

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

      Description

      This statement is used to raise an application error, similar to SIGNAL in MariaDB

      Oracle Docs: https://docs.oracle.com/cd/B28359_01/appdev.111/b28370/raise_statement.htm#LNPLS01337

      Example:

          IF SQLCODE = -30041 THEN 
            SQLSTR := 'SELECT COUNT(*) FROM USER_TABLESPACES 
                    WHERE TABLESPACE_NAME = ''SSH_DATA'' AND CONTENTS = ''TEMPORARY''';
            EXECUTE IMMEDIATE SQLSTR INTO TEMP_COUNT;
            IF TEMP_COUNT = 1 THEN RETURN; 
            ELSE RAISE; 
            END IF;
          ELSE
            RAISE;
          END IF;
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Faisal Faisal Saeed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration