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
SBS2008 Folder redirections feature stability ?
The fool says in his heart ...
PDFs and iPads
Is there any way to limit what the users see in shared calendars in Exchange 2003 / Exchange 2007?
Connect to an XenServer within iPhone
WebService Client problem
web design vs dev
Flex Shared Object - Array Collection access
Migrate SBS 2003 to Server 2008 R2
Cannot Replicate FREEBUSY from Exchange 2003 to Exchange 2010 - EVENT 14029, 4003,