Hi
I also use CAST(GETDATE() AS date) ... but it works only for sql server 2008 because in an earlier version date is not a type. Another point of view is that a smalldatetime use some bites for storing time even it is 00:00:000. The "date" type is more proper for this case.
____________________________________________________________________
Catalin Dumitru
For personal info please visit www.catalin-dumitru.ro