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
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
Build and run of Actuate reports
imap_mail_move on POP3 mailbox
Do you know a utility in Unix I could use that would compare 2 files (for ex:, files A.txt vs B.txt) and display the differences between the 2 files?
Non-Dell motherboard upgrade for Dell XPS Generation 5 Case
Windows XP slow to shut down or restart
problem killing a session in java
SAS 9.1 - Excel Import
Adobe InDesign CS4 Application Error
DCOM was unable to communicate with the computer "Name" using any of the configured protocols.