网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > SQL技巧
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
本月文章推荐
.一个比较好的分页存储过程.
.在SQL中为安装程序填加计数器注册.
.解决用sa登录sql 2005失败的问题.
.数据复制的基本理念与复制技术面.
.细数开发DBA(数据库管理员)的工.
.带你快速了解“存储过程”的定义.
.MS SQL Server 2000系统数据类型.
.循环插入一定时间范围内的随机日.
.轻松掌握使用SQL Server 浏览器.
.Transact-SQL不使用游标的两个循.
.大型MIS软件的开发必须重视数据库.
.如何在SqlServer与oracel中进行分.
.用SQLServer2000索引视图提高性能.
.SQL Server 2005 中能够使用 Try.
.数字金额大小写转换之存储过程 .
.怎么清除sql server日志.
.五种提高SQL性能的方法.
.sql server中如何计算农历.
.SQL Server数据库简体繁体数据混.
.自动安装sql server数据库.

sql server 2005 排序规则与大小写敏感

发表日期:2006-4-27


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

 

上一篇:Sql server 2005带来的分页便利 人气:7544
下一篇:解决方案:用户 'sa' 登录失败。原因: 未与信任 SQL Server 连接相关联 人气:26546
浏览全部sql server 2005的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐