---
title: "View Collation Information | Microsoft Docs"
ms.custom: ""
ms.date: "03/14/2017"
ms.prod: sql
ms.reviewer: ""
ms.technology:
ms.topic: conceptual
helpviewer_keywords:
- "collations [SQL Server], view"
ms.assetid: 1338b4ea-7142-44bc-a3b9-44e54431405f
author: "stevestein"
ms.author: "sstein"
monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
---
# View Collation Information
[!INCLUDE[appliesto-ss-asdb-xxxx-xxx-md](../../includes/appliesto-ss-asdb-xxxx-xxx-md.md)]
You can view the collation of a server, database, or column in [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] using Object Explorer menu options or by using [!INCLUDE[tsql](../../includes/tsql-md.md)].
## How to View a Collation Setting
You can use one of the following:
- [SQL Server Management Studio](#SSMSProcedure)
- [Transact-SQL](#TsqlProcedure)
### Using SQL Server Management Studio
**To view a collation setting for a server (instance of SQL Server) in Object Explorer**
1. In Object Explorer, connect to an instance of [!INCLUDE[ssDE](../../includes/ssde-md.md)].
2. Right-click the instance and select **Properties**.
**To view a collation setting for a database in Object Explorer**
1. In Object Explorer, connect to an instance of [!INCLUDE[ssDE](../../includes/ssde-md.md)] and then expand that instance.
2. Expand **Databases**, right-click the database and select **Properties**.
**To view a collation setting for a column in Object Explorer**
1. In Object Explorer, connect to an instance of [!INCLUDE[ssDE](../../includes/ssde-md.md)] and then expand that instance.
2. Expand **Databases**, expand the database and then expand **Tables**.
3. Expand the table that contains the column and then expand **Columns**.
4. Right-click the column and select **Properties**. If the collation property is empty, the column is not a character data type.
### Using Transact-SQL
**To view the collation setting of a server**
1. In Object Explorer, connect to an instance of the [!INCLUDE[ssDE](../../includes/ssde-md.md)] and on the toolbar, click **New Query**.
2. In the query window, enter the following statement that uses the SERVERPROPERTY system function.
```sql
SELECT CONVERT (varchar(256), SERVERPROPERTY('collation'));
```
3. Alternatively, you can use the sp_helpsort system stored procedure.
```sql
EXECUTE sp_helpsort;
```
**To view all collations supported by [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)]**
1. In Object Explorer, connect to an instance of the [!INCLUDE[ssDE](../../includes/ssde-md.md)] and on the toolbar, click **New Query**.
2. In the query window, enter the following statement that uses the SERVERPROPERTY system function.
```sql
SELECT name, description FROM sys.fn_helpcollations();
```
**To view the collation setting of a database**
1. In Object Explorer, connect to an instance of the [!INCLUDE[ssDE](../../includes/ssde-md.md)] and on the toolbar, click **New Query**.
2. In the query window, enter the following statement that uses the sys.databases system catalog view.
```sql
SELECT name, collation_name FROM sys.databases;
```
3. Alternatively, you can use the DATABASEPROPERTYEX system function.
```sql
SELECT CONVERT (varchar(256), DATABASEPROPERTYEX('database_name','collation'));
```
**To view the collation setting of a column**
1. In Object Explorer, connect to an instance of the [!INCLUDE[ssDE](../../includes/ssde-md.md)] and on the toolbar, click **New Query**.
2. In the query window, enter the following statement that uses the sys.columns system catalog view.
```sql
SELECT name, collation_name FROM sys.columns WHERE name = N'';
```
**To view the collation settings for tables and columns**
1. In Object Explorer, connect to an instance of the [!INCLUDE[ssDE](../../includes/ssde-md.md)] and on the toolbar, click **New Query**.
2. In the query window, enter the following statement that uses the sys.columns system catalog view.
```sql
SELECT t.name TableName, c.name ColumnName, collation_name
FROM sys.columns c
inner join sys.tables t on c.object_id = t.object_id;
```
## See Also
[SERVERPROPERTY (Transact-SQL)](../../t-sql/functions/serverproperty-transact-sql.md)
[sys.fn_helpcollations (Transact-SQL)](../../relational-databases/system-functions/sys-fn-helpcollations-transact-sql.md)
[sys.databases (Transact-SQL)](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)
[sys.columns (Transact-SQL)](../../relational-databases/system-catalog-views/sys-columns-transact-sql.md)
[Collation Precedence (Transact-SQL)](../../t-sql/statements/collation-precedence-transact-sql.md)
[Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md)
[sp_helpsort (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-helpsort-transact-sql.md)