国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > SQL Server > 正文

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

2024-08-31 00:51:02
字體:
來源:轉載
供稿:網友

If you installed  Sql Server 2005  Full  !

When Your Run Follow:
--------------------------------
use AdventureWorks
go
select * 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.

AND
There 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'.

 


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 克拉玛依市| 上蔡县| 五大连池市| 阿荣旗| 松阳县| 德钦县| 定南县| 门源| 新蔡县| 黎川县| 余庆县| 满城县| 福清市| 青田县| 绵竹市| 长治市| 神池县| 孟连| 庆元县| 盘山县| 岳西县| 比如县| 嘉善县| 和硕县| 巴林右旗| 中卫市| 蒙阴县| 江华| 长宁区| 新田县| 灵丘县| 六枝特区| 荔浦县| 江油市| 汝城县| 龙海市| 辉县市| 阿克苏市| 蓬莱市| 晋宁县| 永寿县|