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
PHP_sessions
Access 2007 - Query Question
return multiple resultsets with TsqlQuery
Cant access internet through Cisco PIX 515
OS X Mail attachments - drag all
Locking a header & a footer in Microsoft Word 2003
Dead harddrive - clicking sound
Caseware version 3.1. old Dos accounting software
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
How do I resolve stop error: *** STOP: 0x0000007B (0xF789EA94, 0XC0000034,0x0000000,0x000
0000)