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
Proliant ML110 G4 Lost RAID and Randomly gives Error 0251
Give user rights to add computer to a domain
Network connection intermittently blocks a port Error 619
IPv4 vs IPv6
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
Cannot start the reminder service - Outlook 2007
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
Fax machine printing black pages
Ajax compatibility problem with IE and Firefox
Quick Launch Tool Bar