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
Windows Server 2008 R2: missing start menu of installed applications
Update Comments with cell ref.
Is the reverse lookup in Exchange 20010 needed to send and receive
Table Design
jsp forwarded address
assign unique links to images drawn from directory
multiple users having outlook and phones checking one IMAP mailbox, is it a problem?
endian
Simulate Lan over internet
ASP.NET 2.0 Warning. Event ID 1309 Source ASP.NET.0.50727.0