wongkwokkin
SSChasing Mays
Points: 601
More actions
January 13, 2009 at 8:09 pm
#130055
Hello all!
How can I list all the table's collation in one Database?
Some of the columns in the tables have a diff collation with the Database.
I would like to list it out and correct them.
Please help!!!!!
Thanks
KK
Mark Cowne
One Orange Chip
Points: 26954
January 14, 2009 at 2:54 am
#926434
select object_name(object_id) as tablename, name as columnname,collation_name
from sys.columns
where collation_name is not null
order by object_name(object_id),column_id
____________________________________________________
Deja View - The strange feeling that somewhere, sometime you've optimised this query before
How to get the best help on a forum
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply