Microsoft
Software
Hardware
Network
Question : Simple SQL Query Date Command
Hi SQL Experts,
I need help with a simple select statement.
I have a tenant table with field called 'dtleaseto' that holds the last date of the lease. I want to run a select statement to return all tenant records that have their 'dtleaseto' date ending within 30 days of today.
Answer : Simple SQL Query Date Command
select *
from tenent
where dtLeaseTo Between CONVERT(varchar(10), getdate(), 120 ) AND CONVERT(varchar(10), getdate()+30, 120 )
Random Solutions
Outlook Public folder calendar as a resource for scheduling meetings from users Outlook
Getting Red Alert 2 game to work on my Win XP PC
SQL selection
Email from Access without using a Reference to the Outlook library
McAfee Vshield disables automatically
SQL Reporting Services: The permissions granted to user "<server>"\IUSR_<username><wbr />" are insufficient for performing this operation.
Backup Exec - Exchange 2007 / Poor Performance and Eventual Exhaustion of RAM Backing up Information Store
SQL Query
what's wrong with my code to do concurrent traceroute to multiple IP addresses?
How to use alias in MYSQL searches?