Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Time Between ...

Author  Topic 

lovehui
Yak Posting Veteran

60 Posts

Posted - 2009-04-13 : 16:21:09

Suppose TS='4/13/2009 10:50:49 AM'

Is it true for the following condition?
TS between '04/13/2009 00:00:00' and '04/14/2009 00:00:00'

Thanks.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-04-13 : 16:50:07
Yes if your data type of TS is datetime.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -