11 2011 档案

摘要:近期,公司对数据库进行一系列的优化,优化过程中,产生了数据库字段长度对于查询时间是否有影响的问题争论,因此,做如下实验:创建两张表,table1,table2分别创建字段 waternum nvchar(4000),waternum nvchar(50)插入数据,对两张表插入250000条数据--增加数据到第一张表declare @a datetimedeclare @i intset @a=getdate()--这里加试验语句declare @b datetimedeclare @s intset @s=1while @s<=250000begin set @b=getdate() i 阅读全文
posted @ 2011-11-23 16:55 鼹鼠贪贪 阅读(872) 评论(1) 推荐(0) 编辑