COLLATIONPROPERTY( collation_name , property )
Is the name of the collation. collation_name is nvarchar(128), and has no default.
Is the property of the collation. property is varchar(128), and can be any one of the following values:
Non-Unicode code page of the collation.
Windows LCID of the collation.
Windows comparison style of the collation. Returns 0 for all binary collations .
The version of the collation, derived from the version field of the collation ID. Returns 2, 1, or 0.
All new collation versions introduced in SQL Server 2008 (collations with "100" in the name) return 2.
All collation versions introduced in SQL Server 2005 (collations with "90" in the name) return 1.
All other collations, introduced in earlier versions of SQL Server return 0.
SELECT COLLATIONPROPERTY('Traditional_Spanish_CS_AS_KS_WS', 'CodePage')
Here is the result set.
(1500 characters remaining)
Thank you for your feedback