We have database collation as case-insensitive, but we need the data in the column to be stored and while query search to be as case sensitive.
Is there any property/settings available in SQL Server that whenever we create a table, the collation of column should automatically overwrite the database collation?
I know that we have to change collation at column level manually but any property/setting/query that we can use to change collation to case sensitive without any manual intervention.
Thanks,
在本文档https://docs.microsoft.com/en-us/sql/relational-databases/collations/set-or-change-the-column-collation?view=sql-server-ver15中声明“您可以通过为表的特定列指定不同的排序规则并使用以下方法之一覆盖 char、varchar、text、nchar、nvarchar 和 ntext 数据的数据库排序规则:“看起来您需要手动完成
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.