摘要: set noccount on忽略计数(隐藏1行受影响) with(nolock)忽略事务锁(跨域的时候应用nolock) 避免在WHERE子句中使用in,not in,or 或者having。可以使用 exist 和not exist代替 in和not in。 不要以字符格式声明数字,要以数字格式 阅读全文
posted @ 2016-01-28 17:31 码先行 阅读(193) 评论(0) 推荐(0) 编辑