If you installed Sql Server 2005 Full ! When Your Run Follow: 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 ALTER DATABASE (Transact-SQL) topic ->Remarks section->Changing the Database Collation.
——————————–
use AdventureWorks
go
select * from sales.customer —-its error!why?
select * from Sales.Customer—-its right!
———————————
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:
sql server 2005 排序规则与大小写敏感_数据库技巧
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » sql server 2005 排序规则与大小写敏感_数据库技巧
相关推荐
-      sql语句中的判断功能的使用方法
-      sql语句中的判断功能的使用方法
-      SQL语言中去掉小数点有效数字后面的所有0
-      ASP连接各种数据库的代码
-      在sql语句中实现md5功能
-      给access数据库减肥
-      asp连接access数据库代码(2)
-      更改 SQL Server 登录模式