Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
SHOW REGIONS
On this page
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 SQLLIKEclause 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
LIMITclause 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: