国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

sql server 2005 排序規則與大小寫敏感

瀏覽:161日期:2023-10-30 14:20:01

If you installed; Sql Server 2005; Full; !

When Your Run Follow:--------------------------------use AdventureWorksgoselect * from; sales.customer ----it's error!why?select * from; Sales.Customer----it's right!---------------------------------

This issue is related to your database collation setting.

You can try run this to find out what your database collation is:

SELECT databasepropertyex(AdventureWorks','collation')

The collation of your database makes your query case sensitive.

If you want a quick change,; you can change your database to another collation which is not case sensitive, for examle:

ALTER DATABASE AdventureWorks COLLATE SQL_Latin1_General_CP1_CI_AS

You can search Books online for more information on collation.

ANDThere are some limitations on altering collation of a database, maybe there are some SCHEMABINGING views in the database. you can refers to SQL2005 Books Online, and locate:

'ALTER DATABASE (Transact-SQL)' topic ->'Remarks' section->'Changing the Database Collation'.

標簽: Sql Server 數據庫
主站蜘蛛池模板: 方城县| 固镇县| 怀化市| 巧家县| 牟定县| 贺州市| 旅游| 南涧| 和平县| 白水县| 酉阳| 彭山县| 定陶县| 布尔津县| 徐水县| 甘泉县| 肥乡县| 蒙阴县| 东阳市| 台中市| 寿光市| 左贡县| 大名县| 广南县| 泾川县| 庆阳市| 伊吾县| 卢湾区| 正宁县| 红安县| 湘潭市| 枞阳县| 从江县| 阳新县| 临沧市| 滦南县| 南召县| 桐乡市| 诸城市| 湟源县| 新安县|