Categories:

Context Functions (General)

CURRENT_REGION

Returns the name of the region for the account where the current user is logged in.

Syntax

CURRENT_REGION()

Arguments

None.

Examples

Show the current region:

SELECT CURRENT_REGION();

Output:

+------------------+
| CURRENT_REGION() |
|------------------|
| AWS_US_WEST_2    |
+------------------+