select * from sysobjects where xtype = 'u' option (FAST 1)
select * from sysobjects where xtype = 'u'
添加option (FAST 1)选项后速度可提升几倍
博客展示了两条SQL查询语句,一条添加了option (FAST 1)选项,另一条未添加,并指出添加该选项后查询速度可提升几倍,体现了该选项对SQL查询性能的影响。
select * from sysobjects where xtype = 'u' option (FAST 1)
select * from sysobjects where xtype = 'u'
添加option (FAST 1)选项后速度可提升几倍
1677