Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026.
We will start enforcing it in phases. For more information on the details of Python end of life
and migration options, see the
blog post
DB_COLLATION
Returns the collation setting of the current database.
Syntax
db_collation()
Return type
Returns a VARCHAR string representing the collation of the current database. Possible values are case_sensitive or case_insensitive.
Example
The following example returns the collation of the current database.
select db_collation(); db_collation ---------------- case_sensitive (1 row)