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
After moving mailbox to Exchange 2007 lost all Outlook rules
SPID process blocking itself
Combofix Log - Analysis Assistance Request
PHP: Decode Modified Base64
How does the pointers of an inode's data block relattes to the logical block address of a SCSI device?
dateDiff - combining a date selection and a time selection
Can't Add User in Active Directory
How do I add a second domain controller for OWA authentiion on Exchange 2007?
Printing multiple divs using java script
setup two NIC with same IP address for load balancing