• raulggonzalez (1/17/2014)


    Thanks for the question, but I have to disagree with one of the answers.

    I have a number of offline databases in one of my servers and the following query returns values for all of them

    select name, state_desc, DATABASEPROPERTYEX(name, 'Collation')

    from sys.databases

    where state_desc = 'OFFLINE'

    I can see that BOL states opposite, but if anybody else want to try and share the result, would be great

    Most odd - I have the same symptoms one one of my (2005) servers. 6 databases are off line - yet I get a collation for them.

    Any ideas why?

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx