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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Built-in Date Function?

Status
Not open for further replies.

BobLoblaws

Programmer
Nov 20, 2001
149
CA
Is there a built-in date function that does the following?
Basically, I want something that can return all dates that are not in a table.

Example.
SELECT AllDates() FROM tbl_Work
WHERE AllDates() <> WorkDate AND
AllDates() BETWEEN '01-01-2002' AND '12-31-2002'
 
I am curious to see if there is such a function. I basically do the same sort of thing with date and time. I wound up creating a table for holding the date information, then outer join to that table and select all records which have the nulls
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top