例如:2014-07-09 00:00:00
select convert(varchar(10),getdate(),23)+' 00:00:00'
例如:2014-07-09 23:59:59
select convert(varchar(10),getdate(),23)+' 23:59:59'
例如:2014-07-09 00:00:00
select convert(varchar(10),getdate(),23)+' 00:00:00'
例如:2014-07-09 23:59:59
select convert(varchar(10),getdate(),23)+' 23:59:59'