Formatting the query

You can apply formatting on the query text or change the formatting case of the SQL statement. Compass queries are case insensitive. Formatting is applied to improve readability of the queries.

To format a query:

  1. Click Format.
  2. Select one of these options:
    • Format SQL

      Formats the SQL with new lines and indents.

    • To Upper Case

      Changes the query text to upper case.

    • To Lower Case

      Changes the query text to lower case.

  3. To increase or decrease the editor text size, click the magnifying icon with the + or – symbol.