March 20, 2014 at 8:09 am
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.)
March 20, 2014 at 8:16 am
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
March 20, 2014 at 8:26 am
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