SQL query in SQL SERVER 2005 - Comparing Dates
Posted
by YeomansLeo
on Stack Overflow
See other posts from Stack Overflow
or by YeomansLeo
Published on 2009-10-05T19:09:10Z
Indexed on
2010/05/15
19:34 UTC
Read the original article
Hit count: 329
I'm having a hard time doing this query.
I want to compare dates in my query, dates from my DB are in this format:
(MM/DD/YYYY HH:MM:SS AM)
I want to compare this date with tomorrow's day, today plus one.
My questions are:
How do I declare tomorrow's date in sql server?
How would you compare these two dates?
Thank you!! =D
EDIT : DATES in DB are VarChar =S
© Stack Overflow or respective owner