Current Date

Ashkan

Registered User.
Local time
Tomorrow, 05:37
Joined
Oct 19, 2004
Messages
14
I have a table named Contracts. It has the fields Contract ID, Contract Start Date, Contract End Date.

I need to be able to produce a query that will contain all current contracts.

Any ideas??? :(

Thanks
Ashkan
 
"simple"

Select
from Contracts
where [Contract Start Date] <= date()
and ([Contract End Date] >= date() or [Contract End Date] is null)
 
Last edited:
Thank you :D
 

Users who are viewing this thread

Back
Top Bottom