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
SSIS reuse the object variable
bulk collect - amount of return
User profile service in Sharepoint 2010
How to stablish a proper setup in MS Outlook 2003 encrypting mails
Initialization failed for opening on premisis exchange server
auto shutdown laptop when main power is off
Combine worksheets from different workbooks into one workbook using VB.Net
How To REMOVE VALUE from 'not checked checkboxes'
OCS 2007 R2 and Cisco call manager
HTTP Error 404.3 on IIS 7.0