Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

SHOW REGIONS

The SHOW REGIONS command returns a list of all the regions for the user.

Syntax

SHOW REGIONS [ LIKE '<pattern>' ]
    [ ORDER BY '<key>' [ ASC | DESC ], ... ]
    [ LIMIT <limit> ]

Arguments

  • pattern: Specifies a pattern similar to the SQL LIKE clause and returns regions with names that match the specified pattern. Uses % as the wildcard character.

  • key: Key used to sort the result set.

  • limit: An integer value.

Remarks

  • The LIMIT clause limits the number of results to the specified number.

  • By default, the result is sorted in the ascending order.

Example

The following command returns all the regions in the US and sorts the result in ascending order by Name.

SHOW REGIONS LIKE 'US%' ORDER BY Name;

Last modified:

Was this article helpful?