摘要: http://www.17aspx.com/html/aspnet/controls/2009/0920/60.html 阅读全文
posted @ 2010-03-26 11:29 wsenmin 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 转自 网站性能优化总结。 1. 使用存储过程, (如果在程序里用exec 存储过程 参数,这样执行似乎并没有快多少) 在数据库里是预编译的,也不需要在字符串传输上花费大量时间。 防sql注入攻击。 2. 尽量优化数据库语句,使逻辑尽量简单。@ 还有就是在使用函数时 charindex >like > padindex 效率依次递减。 @查询字段是否包含在以,分隔的字段串时,最好不要用i... 阅读全文
posted @ 2010-03-26 11:23 wsenmin 阅读(4729) 评论(1) 推荐(0) 编辑