PS Query & SQL

 View Only
  • 1.  Query Cleanup - Private Queries

    Posted 02-12-2025 02:37 PM

    Hi,

    How do you cleanup private queries owned by a user that no longer works at the university?     We do not have many users that can create private queries.   I recall only being asked 2 - 3 times (in 25+ years) to make a users query from private to public who had recently left.

    With Private queries , those are not accessible in Query Manager unless you log in as that person  and/or  IT could run a script to update the OPRID to a different user.


    I ran a query checking the oprid in PSQRYDEFN  against a UA custom table that had some minimum employment data to see who does not have an active HR record.      For us, there appears 35 people for 3675 private queries ...  out of entire 18000+ queries not lastupdoprid = PPLSOFT or PS ;


    Thanks

    Pam



    ------------------------------
    Pamela Lantzy
    Senior Applications Architect
    University At Albany
    ------------------------------
    Alliance 2026 Registration is Open!


  • 2.  RE: Query Cleanup - Private Queries

    Posted 02-12-2025 02:45 PM

    Hi Pam,

    Private queries can be deleted by navigating to PeopleTools > Utilities > Administration > Query Administration.  You can search by query name or OPRID and select the queries to delete.



    ------------------------------
    Tiffany Yuen MS
    Information Technology Business/Technical Analyst
    Los Rios Community College District
    ------------------------------

    Alliance 2026 Registration is Open!


  • 3.  RE: Query Cleanup - Private Queries

    Posted 02-12-2025 02:46 PM

    Hey, Pamela. At CU we regularly (quarterly or semi-annually) run a script in Campus Solutions to delete the private queries of users who no longer have functional access (perhaps after some period of time). And you can use the Query Administration component to access even others' Private queries I believe. You just have to have access to Query Administration. ��

     

    Matt Lemme (he/him)

    Assistant Director, Student IT Services

    University Information Systems

    University of Colorado

    1800 Grant Street

    Denver, CO 80203

    t 303 860 4344

     

     




    Alliance 2026 Registration is Open!


  • 4.  RE: Query Cleanup - Private Queries

    Posted 02-13-2025 11:11 AM

    Matt and Tiffany,

    Thanks , I will checkout the Query Administration page. 

    Pam



    ------------------------------
    Pamela Lantzy
    Senior Applications Architect
    University At Albany
    ------------------------------

    Alliance 2026 Registration is Open!