Running Database Queries As The PX Reporting User Without Calling Secpac Returns All Data

(Doc ID 2254511.1)

Last updated on OCTOBER 05, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.0 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version and later
Information in this document applies to any platform.


The query 'select * from p6project;' run as the PX Reporting User (default name pxrptuser) returns all data.

The query should not produce any data because 'secpac.set_user' is not called.

The issue can be reproduced at will with the following steps:

  1. Open SQL Developer or TOAD
  2. Login in using the PX Reporting User (Example: "PXRPTUSER")
  3. Run the query: select * from p6projects;
  4. The query returns all data in the table




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms