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
problem while implementing pagination using display tag in MyEclipse 6.0 version
Installer error 2869 Windows 7
How to export distributions lists from active directory
Two Networks - Two NICS - Security?
Display Chart in TextBox
Installing SSL certifcate on exchange 2010
How can you search e-mail within Outlook 2010 and not use the index?
Server 2008 R2 print server vs. XP clients
asp.net mssql - I have a dataosource that initially searches and pulls in a full query is there a way to alter the dynamiccaly the where clause.
What would be my excel formular to find the percentage of errors