I have a set of projectnames stored in the database
projectname - project1 with startdate and enddate
How to find which task is at present going on, based on today's date ( note : two projects may have same dates too). I need to take the project names which falls under today date from all the other projects.
select distinct ProjectName
from ProjectPlan
where UserName=@username
and month(StartTime)='2'
This shows me the tasks under 2nd month and not exact project which is at present date.
Any idea ???