2016年1月20日

优化SQL语句

摘要: 1、尽量使用临时表暂存中间结果。 select * into #temp from sysobjects insert into #temp select test from table2、如果需要使用模糊查询时,尽量使用LIKE %的方式查询,注意:"关键字"前尽量不要用%,就这样变成了... 阅读全文

posted @ 2016-01-20 09:04 梨窝★浅笑 阅读(143) 评论(0) 推荐(0)

导航