Hi everyone?
How can i change collation of userdefined datatype?
When i try to change it Management Studio Query
varcharUzun = varchar(100) --> userdefined data type....
Code:
ALTER TABLE tbxxxx ALTER COLUMN sDefinition varcharUzun COLLATE Turkish_CI_AS NOT NULL
when i run the query it says.
Code:
Msg 452, Level 16, State 1, Line 2
COLLATE clause cannot be used on user-defined data types.
i also cannot ALTER the userdefinedtypes collation itself. And i canyt chance the collation if the column is PrimaryKey []
Is there any other to change the collation without dropping and re-creating the objects.
Thanks.