SHOW REGIONS
On this page
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: February 13, 2025