Custom PeopleSoft Queries

 

The following SQL identifies custom queries created in your system from the PSQRYDEFN PeopleTools table. It includes the query type (and the operator ID who owns the query if it is private).

select QRYNAME as "Query Name", DESCR as "Query Description", CREATEOPRID as "Created By", CREATEDTTM as"Created On", LASTUPDDTTM as "Last Updated By", LASTUPDOPRID as "Last Updated On", case when OPRID != ' 'then 'Private - ' || OPRID else 'Public' end as "Query Type", VERSION as "Revisions", QRYAPPROVED as"Query Approved?", APPROVEOPRID as "Approved By", APPROVEDTTM as "Approved On"from PSQRYDEFNwhereLASTUPDOPRID != 'PPLSOFT'

Note to run in SQL server, change the || concatenation operator to a plus sign (+).

上一篇:zabbix邮件告警


下一篇:在Visual Studio中使用正则表达式匹配换行和批量替换