Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » System FunctionsRSS Feeds

fn_helpcollations Function

Posted By: Sarita Patel     Category: SQL Server     Views: 1986

This article explains about fn_helpcollations function in sql server with examples.

fn_helpcollations function returns a list of all the collations supported by sql server.  



Syntax of fn_helpcollations Function :

fn_helpcollations ( )

fn_helpcollations returns following information. 

Column Name

Data Type

Description

Name

sysname

Standard collation name

Description

nvarchar(1000)

Description of the collation

 

 



Examples of fn_helpcollations Function :

Example 1 : Use of fn_helpcollations function in select clause 

SELECT  TOP 4 * 
FROM     ::fn_helpcollations()

Output
name                           description
Albanian_BIN  Albanian, binary sort
Albanian_BIN2  Albanian, binary code point comparison sort
Albanian_CI_AI  Albanian, case-insensitive, accent-insensitive, kanatype-insensitive, width-insensitive
Albanian_CI_AI_WS  Albanian, case-insensitive, accent-insensitive, kanatype-insensitive, width-sensitive

Above example shows top 4 collations supported by sql server.
  
Share: 


Didn't find what you were looking for? Find more on fn_helpcollations Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of fn_helpcollations Function is from United States.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!