摘要:
本文转自:http://www.cnblogs.com/denylau/archive/2010/12/01/1893371.htmlif(@StartTime > @EndTime)Set@EndTime =cast(convert(char, @ScheduleDate + 1 , 101)+' '+convert(char, @EndTime, 108)asdatetime)ElseSet@EndTime =cast(convert(char, @ScheduleDate , 101)+' '+convert(char, @EndTime, 108) 阅读全文