Skip to content

Formatting IF/END IF #904

@Jimex

Description

@Jimex

The IF/END IF block wasn’t formatted correctly.

IF v_count = 0 THEN
RAISE_APPLICATION_ERROR (-20001, 'Error');
END IF;

Expected Output

IF v_count = 0 THEN
       RAISE_APPLICATION_ERROR (-20001, 'Error');
END IF;

Actual Output

IF v_count = 0 THEN RAISE_APPLICATION_ERROR (-20001, 'Error');


END IF;

Usage

  • What SQL language(s) does this apply to?
  • PLSQL
  • Which SQL Formatter version are you using? (The exact version number.)
  • 15.6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions