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
How to Use Abandoned Local Profile From Different Domain
If Statement on Control Source
jQuery Autocomplete with PHP / MySQL [PART 1]
SQL Select Statement
Extract Text from Excel Cell
BES 5.0.1 and Exchange 2010
Delphi5 & Crystal ReportVCL v8.5
Is there anyway to reserve some resources in windows server so that RDC will still work in the event network/cpu is exhausted?
Can't open my own attachment in Outlook
Display Last Modified Date of aspx vb.net 2.0 page via Footer Include