--如果满足条件的记录数占表的所有记录数的绝大多数,SQL Server可能会采取表扫描的方式,因为这样的效率比扫描索引更快.--另外,你可以强制指定索引来确定使用索引与不使用索引的效率差别.Select OtherItemBase.AID
From OtherItemBase with(index=索引名)
inner Join ItemBase with(index=索引名)
ON OtherItemBase.ItemID=ItemBase.ItemID
WHERE ItemBase.MOn>='05/15/05'
From OtherItemBase with(index=索引名)
inner Join ItemBase with(index=索引名)
ON OtherItemBase.ItemID=ItemBase.ItemID
WHERE ItemBase.MOn>='05/15/05'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货