Question

How can I remove the collation of a column after it has been set?

The standard collation of a column in the SQL Server is "NULL". It means, the collation of the database is used.

The TSQL-Statement ALTER table ALTER column COLLATE database_default will explicit set the collation of the column to the one of the database, but it doesn't restore the original state of no collation (NULL collation).

Can we really drop the collation?

Était-ce utile?

La solution

No, you can't drop the collation of a column or even of a database.

1: If you do not specify any collation, the columns will use the default collation of the database.

2: If no collation is specified by the database, then the server collation is used.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top