Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Van toepassing op:SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
SQL Analytics-eindpunt in Microsoft Fabric
Magazijn in Microsoft Fabric
SQL-database in Microsoft Fabric
Geeft een lijst terug van alle ondersteunde collaties.
Transact-SQL syntaxis-conventies
Syntaxis
fn_helpcollations ()
Teruggegeven tabellen
fn_helpcollations geeft de volgende informatie terug.
| Kolomnaam | Gegevenstype | Description |
|---|---|---|
| Naam | sysname | Standaard collatienaam |
| Description | Nvarchar(1000) | Beschrijving van de collatie |
SQL Server ondersteunt Windows-collaties. SQL Server ondersteunt ook een beperkt aantal (<80) collaties, SQL Server-collaties genoemd, die zijn ontwikkeld voordat SQL Server Windows-collaties ondersteunde. SQL Server-collaties worden nog steeds ondersteund voor achterwaartse compatibiliteit, maar mogen niet worden gebruikt voor nieuw ontwikkelingswerk. Voor meer informatie over Windows-collaties, zie Windows Collation Name (Transact-SQL). Voor meer informatie over collaties, zie Collatie en Unicode Support.
Voorbeelden
Het volgende voorbeeld geeft alle collatienamen die beginnen met de letter L en die binaire sorteer-collaties zijn.
Opmerking
Azure Synapse Analytics-queries tegen fn_helpcollations() moeten worden uitgevoerd in de masterdatabase.
SELECT Name, Description FROM fn_helpcollations()
WHERE Name like 'L%' AND Description LIKE '% binary sort';
Hier is het resultatenoverzicht.
Name Description
------------------- ------------------------------------
Lao_100_BIN Lao-100, binary sort
Latin1_General_BIN Latin1-General, binary sort
Latin1_General_100_BIN Latin1-General-100, binary sort
Latvian_BIN Latvian, binary sort
Latvian_100_BIN Latvian-100, binary sort
Lithuanian_BIN Lithuanian, binary sort
Lithuanian_100_BIN Lithuanian-100, binary sort
(7 row(s) affected)
Zie ook
COLLATE (Transact-SQL)
COLLATIONPROPERTY (Transact-SQL)
-sortering en Unicode-ondersteuning