查询当天的SQL语句

select count(*from oa_rizhi where login_code = '00001' and rz_time between convert(datetime,left(getdate(),10)+' 00:00:00.000'and convert(datetime,left(getdate(),10)+' 00:00:00.000')+1 
posted @ 2007-08-14 10:08  MangaGo  阅读(710)  评论(0编辑  收藏  举报