PeopleTools Reference: Meta-SQL %Table
%Table Replaces with the actual table name of the given record. Generally, this just means adding a “PS_” to the front of the record name. But, PeopleTools actually checks the alternate table name from...
View ArticlePeopleTools Reference: Meta-SQL %SelectAll
Generates a select statement that selects all the fields from a chosen record. Typically, when you use the %SelectAll, you would use a record object to store the results. That way you don’t have to...
View ArticleOracle Tip: Dropping a Database
Here is how to drop a database in Oracle. Make sure that have ORACLE_SID set first. Log into sqlplus with sysdba privileges: sqlplus /nolog connect / as sysdba Run the following commands in sqlplus:...
View ArticleQuery Tool that includes Meta-SQL
Once I learned about SQL Developer, I switched from using Toad as my Query Tool. If I were to improve one thing though, it would be that the query tool understand Meta-SQL. Now, if I copy SQL from...
View ArticleLooking for Orphan Rows
Here is some SQL that you might find helpful: SELECT ‘SELECT ”’ + C.RECNAME + ”’ AS RECNAME, OPRID FROM ‘ + D.TABLENAME + ‘ A WHERE NOT EXISTS (SELECT ”X” FROM PSOPRDEFN B WHERE A.OPRID = B.OPRID)...
View ArticleAny Interest in Program?
I have been tinkering around with a little Java application I started for running queries against a PeopleSoft database. I was just curious if there was any interest in such an application. Here is a...
View ArticleQuerying the Component
Here are some queries to find things out about the component. This one is a simple list of all the fields in the component (doesn’t take into account subpages, etc): SELECT CP.PNLGRPNAME, CP.MARKET,...
View ArticleExplorations in SQL: Fixing Duplicates for Index
I had an issue with some indexes that would not create. The database complained that the table had duplicates in it that violated the index. For me, the table was PS_AUC_HDR, but these steps should...
View ArticleCreating a Readonly Database User
Here’s a common task: You need to create a database user with read only access. You have some power users who know how to use SQL, and they are allowed to see all of the data in the system. You can...
View Article
More Pages to Explore .....