Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Posting Yak Master
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
-- ReleaseDate GE today at 00:00:00.000
ReleaseDate >= dateadd(dd,datediff(dd,0,GETDATE()),0) and
-- ReleaseDate before tomorrow at 00:00:00.000
ReleaseDate < dateadd(dd,datediff(dd,0,GETDATE())+1,0) and
StockQty > 0