Collation setting for all user databases

  • script that will show me the collation setting for all databases. This info seems to be hidden in sql server 2000.

  • Single DB

    select databasepropertyex('MY_DB', N'collation')

    All DB

    EXEC sp_msForEachDB ' select databasepropertyex(''?'', N''collation'') '

  • Hidden ???

    sp_helpdb

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

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

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