Project Server 2007 Determining Resources in Project Team not Assigned to Tasks -- SQL
-
Wednesday, January 30, 2013 4:02 PM
Project Server 2007 I use the query below to determine which resources i am able to archive by the following query. This works for most of the of them except the one who have been added to a project team but have never been assigned to a task. If I delete one of these it sends a message to the project manager that a resource in their plan has been deleted. This causes concern. Does any know how i get a listing of those resources who are within the project but not assigned to tasks?
Thanks!
select ResourceUID, ResourceName, ResourceNTAccount, ResourceGroup, ResourceCreatedDate, ResourceModifiedDate
into WWG_ArchiveEmps1
from dbo.MSP_EpmResource
where ResourceUID not in (select ResourceUID from dbo.MSP_EpmAssignment)
and resourceisactive = 0
except
select ResourceUID, ResourceName, ResourceNTAccount, ResourceGroup, ResourceCreatedDate, ResourceModifiedDate
from dbo.MSP_EpmResource
where ResourceUID in (select ResourceOwnerUID from dbo.MSP_EpmAssignment)
and resourceisactive = 0
- Moved by Sapna Shukla - Project MVPMVP, Moderator Friday, February 08, 2013 7:44 AM
All Replies
-
Thursday, February 07, 2013 10:16 PM
Hi Kathy,
You may want to have a look on the following blog. Hope this helps you to fetch the resources data those are within the project but not assigned to any tasks.
Cheers,
Badal
Warm Regards Badal Ratra
- Marked As Answer by Kathy Tullis Wednesday, February 13, 2013 9:22 PM
-
Wednesday, February 13, 2013 9:23 PM
Thanks Badal,
I think this will be perfect!
Kathy

