Updated on 2022-12-08 GMT+08:00

Querying the Available SQL Server Character Set

Function

This API is used to query the SQL Server character set list.

URI

  • URI format

    GET https://{Endpoint}/v3/{project_id}/collations

  • Example

    https://rds.my-kualalumpur-1.alphaedge.tmone.com.my/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/collations

  • Parameter description
    Table 1 Parameter description

    Name

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID of a tenant in a region.

    For details about how to obtain the project ID, see Obtaining a Project ID.

Request

None

Response

  • Normal response
    Table 2 Parameter description

    Name

    Type

    Description

    charSets

    List<String>

    Indicates the character set information list.

  • Example normal response
    {
    	"charSets": ["Cyrillic_General_CI_AS", "SQL_Latin1_General_CP1_CI_AS", "Turkish_CI_AS"]
    }
  • Abnormal response

    For details, see Abnormal Request Results.

Status Code

For details, see Status Codes.

Error Code

For details, see Error Codes.