Formatting the query

With format 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 have better readability of the queries.

To format the 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.