Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Database Engine
Technical Reference
 fn_helpcollations (Transact-SQL)

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Other versions are also available for the following:
SQL Server 2008 Books Online (June 2009)
fn_helpcollations (Transact-SQL)

Returns a list of all the collations supported by SQL Server 2008.

Topic link icon Transact-SQL Syntax Conventions

ms187963.note(en-us,SQL.100).gifNote:
Deprecated collations that are no longer supported or installed in SQL Server 2008 cannot be queried with fn_helpcollations.

fn_helpcollations ()

fn_helpcollations returns the following information.

Column name Data type Description

Name

sysname

Standard collation name

Description

nvarchar(1000)

Description of the collation

The following example returns all collation names starting with the letter L and that are binary sort collations.

USE AdventureWorks;
SELECT Name, Description FROM fn_helpcollations()
WHERE name like 'L%' AND description LIKE '% binary sort';

Here is the result set.

Name                   Description
-------------------    ------------------------------------
Latin1_General_BIN     Latin1-General, binary sort
Latvian_BIN            Latvian, binary sort
Lithuanian_BIN         Lithuanian, binary sort
Lithuanian_Classic_BIN Lithuanian-Classic, binary sort

(4 row(s) affected)
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker