When we create a SQL database on the Azure Portal, the portal give the possibility to select the collation you want from a list:
I would like to integrate this list in my own azure devops extension, inside the task.json. I know set dataSourceBindings, query and filter REST Api.
Here, my problem is to find the source of this collection list, where it is stored?
Does anybody can help me to find the way?
For SQL Server you can execute these selects to get all collations:
These are Windows related: SELECT * FROM sys.fn_helpcollations() WHERE name NOT LIKE 'SQL%'
These are SQL Server related: SELECT * FROM sys.fn_helpcollations() WHERE name LIKE 'SQL%'
With this you can have a fixed list in your json
file and don't need to query this list all over again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.