All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
asp.net2.0页面数据缓存的应用实例
delphi 获取一个文件的属性
新瓶旧酒ASP.NET,AJAX(5),-,客户端脚本编程(Sys.UI命名空间下的类和快捷方法)_[Asp.Net教程]
在ASP.NET应用中插入flash动画_[Asp.Net教程]
动态网页技术PHP程序中包含文件问题_[PHP教程]
对SQLServer2005自述文件的更改_[SQL,Server教程]
精华:AJAX开发简略(第一部分)_[AJAX教程]
自定义PHP分页函数_php资料_编程技术
ASP.NET,3.5,Extensions新特性:ASP.NET,Dynamic,Data,体验2_[Asp.Net教程]
ASP.NET中为GridView添加删除确认提示框_[Asp.Net教程]
Reading number is top 10 pictures
A man's favorite things2
迷人的靓女
西游四格漫画(五)
The goddess of the single reason2
Earthquake hedge common sense
清纯性感的美眉2
Soldier saw beauty after the reaction
The money of more than 100 countries and regions13
In the world the most mysterious 21 place landscape3
A man's favorite things15
Download software ranking
jBuilder2006
双旗镇刀客A
The king of fighters 97(Mobile phone games-apk)
Boxer vs Yellow3
Tram sex maniac 2 (H) rar bag16
linux高级编程
Unix video tutorial14
致我们终将逝去的青春
Boxer's Top ten classic battle5
塘西风月痕
归海一刀 published in(发表于) 2014/2/3 6:40:51 Edit(编辑)
Varchar与char的区别_[SQL Server教程]

Varchar与char的区别_[SQL Server教程]

Varchar与char的区别_[SQL Server教程]

Varchar 对每个英文(ASCII)字符都占用2个字节,对一个汉字也只占用两个字节
char 对英文(ASCII)字符占用1个字节,对一个汉字占用2个字节Varchar 的类型不以空格填满,比如varchar(100),但它的值只是"qian",则它的值就是"qian"而char 不一样,比如char(100),它的值是"qian",而实际上它在数据库中是"qian "(qian后共有96个空格,就是把它填满为100个字节)。

  由于char是以固定长度的,所以它的速度会比varchar快得多!但程序处理起来要麻烦一点,要用trim之类的函数把两边的空格去掉!


来源:网络







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.