Microsoft
Software
Hardware
Network
Question : How to Query a timestamped field (smalldatetime) for yesterdays date in a where clause?
Which function is best for querying yesterday's date from a timestamped field (smalldatetime)?
For example:
select *
from securitymoneyactivity
where uploaddate = Datepart? DateDiff? or DateADD? etc....
---UploadDate being the timestamped field
I need a "GetDate() -1" return on my results.
Answer : How to Query a timestamped field (smalldatetime) for yesterdays date in a where clause?
select * from securritymoenyactivity where datediff(day,uploaddate,ge
tdate())=1
http://msdn.microsoft.com/
en-us/libr
ary/ms1897
94.aspx
Random Solutions
Performance Monitor Wizard tells me log has been deleted create new
Filtering Mysql Search Results Based a Number of Criteria
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
2 raid controllers managing the disk array
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
Shell Api problem
strange connection speed problem
what's different between SAP Crystal Reports and SAP Crystal Reports Server 2008?
VPN Disconnects
How to create bootable DVD from downloaded Windows Server EXE