Microsoft
Software
Hardware
Network
Question : Return records On Date
I have a table that has several columns 2 of them are "from_date" and "to_date" respectively.
I need to write a query to see if today's date.... GetDate() falls between any of those dates, and return only those records.
Answer : Return records On Date
SELECT *
FROM SomeTable
WHERE from_date <= GETDATE() AND to_date >= GETDATE()
Random Solutions
Exchange 2003 - Storage groups are dissmounting with backup softwere
Error string in catch block?
With PHP, what is the best way of detecting a user based on IP and updating it accordingly?
SATA hard drive (WD20EARS) not detected by computer (K9N6PGM2)
mcafee 4.5 issue cant see the agent logs
Problem with internal DNS
how to view/edit server-side rules in Exchange 2003
Print pdf, word, and excel email attachments from inbox folder
Ex2010 - Move Mailbox Failed - Corrupt Messages
XSLT Wildcards and custom processing.