Retrospectively Changing Collation of Table

  • Hi

    Is it possible to change the collation of a specific table within a database retrospectively? Or do I need to use the ALTER statement on each individual column? (var, varchar etc.)

  • Tables don't have a collation. Columns have a collation, so to change the collation on one or more columns in a table, you need to run ALTER TABLE.. ALTER COLUMN on each column you want to change

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you for the clarification.

    Also, am I right in thinking I can only change for columns which have char, varchar, text, nchar, nvarchar, and ntext as their datatype?

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

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