Just a simple follow-up - wouldn't it be safer to haveCode:WHERE LEI.CreateDateTime >= '2008-10-01' -- From the beginning time AND LEI.CreateDateTime < '2008-11-01' -- To the ending time
Or it doesn't make any sense?Code:WHERE LEI.CreateDateTime >= CAST ('2008-10-01' as datetime) AND LEI.CreateDateTime < CAST('2008-11-01' as datetime)









Bookmarks