Retrieve Project's owner value from SQL Server tables

A

Ami Einav

Hi,
How do I retrieve the project's owner value from the organizational tables
in SQL Server,
and also other Project's custom value fields.
a T-SQL sample code would be appreciated.

Thanks
Ami
 
B

Bob Segrest

Hi Ami,

After selecting your project server database, try using the following lines
in the SQL Query Analyzer:

select
proj_name,
res_name,
ProjectEnterpriseText1
from
MSP_WEB_PROJECTS
join MSP_WEB_RESOURCES on MSP_WEB_PROJECTS.wres_id =
MSP_WEB_RESOURCES.wres_id
join MSP_VIEW_PROJ_PROJECTS_ENT on MSP_WEB_PROJECTS.wproj_id =
MSP_VIEW_PROJ_PROJECTS_ENT.wproj_id

Bob Segrest
BSegE LLC
 

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

Top