请教两种查询方法那种好?
一个表:
id [int](自加1)
number [varchar(20)]
addtime [datetime]
数据量比较大,4千多万,现在想检索addtime在'2011-2-13' 到 '2011-2-14'为止的数据。两种方法那种比较好
方法一:select * from 表 where addtime >='2011-2-13' and addtime<'2011-2-14'
方法二:select top 1 @minID=id from 表 where addtime >='2011-2-13'
select top 1 @maxID=id from 表 where addtime >='2011-2-14'
select * from 表 where id>=@minID and id <@maxID
或者有没有更好的方法?