si estas trabajando con SQL2000 es facil...
solo crea esta funcion:
Código:
create function DateOnly(@DateTime DateTime)
-- Returns @DateTime at midnight; i.e., it removes the time portion of a DateTime value.
returns datetime
as
begin
return dateadd(dd,0, datediff(dd,0,@DateTime))
end
y luego de crear esa funcion:
haces la consulta asi:
Código:
SELECT DateOnly(fecha) as Fecha FROM tu_tabla;