Re: Leveling by ID vs. "Standard"
- From: Jim Rodgers <JimRodgers@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Dec 2006 12:32:01 -0800
I tell you what.
I'd be great if Project had a SQL interface !
Suppose there was a table called [Tasks]
and another called [Resources]
and another called [Assignments]
....then to get a list of appointment for both the judges
and the musicians would be a simple 3 minute
GUI exercise in MS Query.
Of course, MS Query is another cool MS product.
"Real" database guys would rather just type in the
SQL query for the view they want. In this case it
would look like this...
"SELECT
Resource_Usage.Resource_Name,
Resource_Usage.Task_Name,
Resource_Usage.Start,
Resource_Usage.Finish,
Resources.Resource_Name AS Room
FROM
(Resource_Usage
LEFT JOIN Tasks
ON Resource_Usage.Task_Name
= Tasks.Task_Name)
LEFT JOIN (Resources
RIGHT JOIN Assignments
ON Resources.Resource_Name
= Assignments.Resource_Name)
ON Tasks.Task_Name
= Assignments.Task_Name
WHERE
(((Resource_Usage.Resource_Name) Not Like "* Room")
AND
((Resources.Resource_Name) Like "* Room"))
ORDER BY
Resource_Usage.Resource_Name,
Resource_Usage.Task_Name,
Resource_Usage.Start,
Resource_Usage.Finish
;"
....where [Resource_Usage] is another view
defined by this...
SELECT
Resources.Resource_Name,
Tasks.Task_Name,
Assignments.Start,
Assignments.Finish
FROM
Tasks
RIGHT JOIN (Resources
LEFT JOIN Assignments
ON Resources.Resource_Name
= Assignments.Resource_Name)
ON Tasks.Task_Name
= Assignments.Task_Name
ORDER BY
Resources.Resource_Name,
Tasks.Task_Name,
Assignments.Start,
Assignments.Finish
;"
Just THINK of what you could do!
:-)
Hey,
1. Does Project Server run on SQL Server?
2. Does Project Server give you SQL access?
If you scrolled down far enough to answer this
question, then I really am proud of you. Still, is
there any way to see Project tables?
Thanks, Jim
.
- Follow-Ups:
- Re: Leveling by ID vs. "Standard"
- From: Steve House
- Re: Leveling by ID vs. "Standard"
- References:
- RE: Leveling by ID vs. "Standard"
- From: Jim Rodgers
- RE: Leveling by ID vs. "Standard"
- From: Jim Rodgers
- Re: Leveling by ID vs. "Standard"
- From: Mike Glen
- Re: Leveling by ID vs. "Standard"
- From: Gary L. Chefetz [MVP]
- Re: Leveling by ID vs. "Standard"
- From: Jim Rodgers
- Re: Leveling by ID vs. "Standard"
- From: Steve House
- Re: Leveling by ID vs. "Standard"
- From: Jim Rodgers
- Re: Leveling by ID vs. "Standard"
- From: Steve House
- Re: Leveling by ID vs. "Standard"
- From: Jim Rodgers
- Re: Leveling by ID vs. "Standard"
- From: Steve House
- RE: Leveling by ID vs. "Standard"
- Prev by Date: Re: How to apply resource leveling to a specific resource?
- Next by Date: Re: Project Server 2007
- Previous by thread: Re: Leveling by ID vs. "Standard"
- Next by thread: Re: Leveling by ID vs. "Standard"
- Index(es):
Relevant Pages
|
Loading