Date fields

  • Thread starter Thread starter Patty
  • Start date Start date
P

Patty

I have to date fields, one is a proposed date the other is the actual
date. I want to count the total # of proposed dates that have an
actual date associated with it. Any help would be appreciated.
Thanks Patty
 
I assume you mean number of rows rather than number of distinct proposed
dates. Try something like this:

SELECT COUNT(*) As CountOfDates
FROM YourTable
WHERE ProposedDate IS NOT NULL
AND ActualDate IS NOT NULL;

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top