default-collation function

The fn:default-collation function returns a URI that represents the default collation that is defined for the database.

Syntax

Read syntax diagramSkip visual syntax diagramfn:default-collation()

Returned value

The returned value is of the type xs:anyURI and specifies the collation of the database.

Example

A Db2 database is created specifying CLDR181_LEN as the collation. When querying this database with the fn:default-collation function, the following value is returned:
http://www.ibm.com/xmlns/prod/db2/sql/collations?name=CLDR181_LEN_AN_CX_EX_FX_HX_NX_S3