How to get the collation name from a collation ID?

  • Hi,

    I am using SQL Server 2008. In ServerProperty function, there are two properties called “Collation” and “CollationID”. In some cases, I will only know the CollationID. Is it possible get the collation name from the CollationID? Is there a function called CollationNameFromID?

    Thanks

  • Try this:

    SELECT DISTINCT collation

    FROM syscolumns

    WHERE collationID = 53256;

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply