Hi Javier,
Kashif is correct, here a sample:
SELECT dbo.MSP_EpmProject_UserView.ProjectName , dbo.MSP_EpmTask_UserView.TaskName , dbo.MSP_EpmResource_UserView.ResourceName , dbo.MSP_EpmAssignment_UserView.AssignmentRemainingWork FROM dbo.MSP_EpmAssignment_UserView INNER JOIN dbo.MSP_EpmTask_UserView ON dbo.MSP_EpmAssignment_UserView.TaskUID = dbo.MSP_EpmTask_UserView.TaskUID INNER JOIN dbo.MSP_EpmResource_UserView ON dbo.MSP_EpmAssignment_UserView.ResourceUID = dbo.MSP_EpmResource_UserView.ResourceUID INNER JOIN dbo.MSP_EpmProject_UserView ON dbo.MSP_EpmTask_UserView.ProjectUID = dbo.MSP_EpmProject_UserView.ProjectUID WHERE (dbo.MSP_EpmAssignment_UserView.AssignmentRemainingWork > 0) AND (dbo.MSP_EpmResource_UserView.ResourceName LIKE @ParmRes + N'%') ORDER BY dbo.MSP_EpmProject_UserView.ProjectName, dbo.MSP_EpmTask_UserView.TaskNameRegards
Barbara