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
please help with this xml as2 code
Unable to Save files in my C drive
USB Device Not Recognized?
How to get past login page strRequestHTML Post
Novell migration
How can I display previous month's records in January?
How to configure HSRP load balance
Error when perform text replacement in Word
Active Sync won't work over 3G
Symantec Endpoint Network Problems