How can I group by date in a query for SQL 2000 and ignore the time. I want to get the total quantity for a day. Problem is that datetime and smalldatetime Which prevents me from doing this. In Sybase I caould convert the data type to a date and that woiuld drop the time. Is there a way to do this in sql 2000?