Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

where table.date>mydate/today???

Status
Not open for further replies.

atashan

MIS
Joined
Sep 27, 2001
Messages
1
Location
US
How do you ask for a condition to display records whose date (column date in some table) is greater than today's date or a certain date?

Any hints would be great, I am new to SQL Server queries, can anyone help?

Thanks!
 
select * from database..tablename
where date_col > '01/01/01'

or where date_col > getdate()

RajD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top