问题补充:我想知道的是一整天都没有打卡的记录。当然,如果把少了某个时间段的打卡记录SQL语句给我,我会更开心的。------------------以下语句已实现了.先生成时间,再比较if object_id('Tempdb..#') is not null drop table #select top 31 identity(int,0,1) as ID,cast(null as Datetime)as Date into #from syscolumns declare @Date datetimeset @Date='2009-07-01'update # set Date=datead...