Thursday, July 18, 2013
SQL Server 2012: Find SQL Server Collation
Description
How to retrieve collation information for SQL Server 2012.
Solution
During the set up of SQL Server 2012, the default collations are as follows (as shown below):
Database Engine: SQL_Latin1_General_CP1_CI_AS
Analysis Services: Latin1_General_CI_AS
To retrieve the collation of the Database Engine for an existing SQL Server instance:
SELECT CONVERT (varchar, SERVERPROPERTY('collation'));
To retrieve the collation of databases attached to the SQL Server instance:
SELECT name, collation_name FROM sys.databases;
(MSDN, 2012)
Reference
MSDN (2012). View Collation Information. Retrieved July 18, 2013 from http://msdn.microsoft.com/en-us/library/hh230914.aspx
Subscribe to:
Post Comments (Atom)
Blog Archive
Events / Conferences / User Groups
- AIIM Conference
- Boston Area SharePoint User Group
- Boston Azure User Group
- Collaborate
- DevConnections
- DevIntersection
- Enterprise Search Summit
- Microsoft Build
- Microsoft SharePoint Conference
- Microsoft TechEd
- New England ASP.NET Professionals User Group
- New England Oracle Applications User Group
- Oracle Applications User Group (OAUG)
- Oracle OpenWorld
- PeopleSoft Government Contractor Special Interest Group
- PeopleSoft Southern New England Users Group
- Quest International Users Group
- SharePoint Saturday
- SPTechCon
- SQL PASS
- SQL Saturday
- Startup Weekend
No comments:
Post a Comment