Microsoft
Software
Hardware
Network
Question : getdate not time
Hi I have the following sql
SELECT *
FROM ErrorLogs
WHERE DateErrorReported = GETDATE()
Its supposed to select all records that have todays date, but its not working as i think its comparing the time as well as date
how do i just compare the dates and not the time?
Answer : getdate not time
SELECT *
FROM ErrorLogs
WHERE Datediff(d, DateErrorReported, GETDATE()) = 0
Random Solutions
No icon on desk top windows XP
system info via website
Manual sbs03 -> sbs08 Migration
Server Returns 404 Error when publishing through WebDAV
Adding Columns to ASP.Net Gridview Control
Outlook 2010 with Exchange 2000?
EXIM mail manager (LAMP) permissions auto-reset how to prevent resetting for a specific file
Exchange Database will not mount.
Regarding INOTES in Lotus 8.5
How to print a dbgrid