Wednesday, December 14, 2016

Using Database hints in SQR (Performance)

Hints in Oracle are used to increase performance. We can add hints to SQL statements in SQRs. Problem comes when we have keyword distinct in SQL statement. If we add hint as below, it will not be effective.

Normal Statement:
Begin-Select
/* +PARALLEL */
W.EMPLID

With Distinct (this will not be effective with the parallel hint):
Begin-Select distinct
/* +PARALLEL */
W.EMPLID

We cannot place the distinct after the parallel hint (as shown below), because SQR consideres distinct as a field name and or it will ignore space after distinct and treats distinctw as an alias.

Begin-Select 
/* +PARALLEL */ distinct
W.EMPLID
Error from SQR log file
(SQR 5528) ORACLE OCIStmtExecute error 904 in cursor 19:
   ORA-00904: "DISTINCTW"."EMPLID": invalid identifier
SQL:  SELECT /*+ PARALLEL */ DISTINCTW.EMPLID


Begin-Select 
/* +PARALLEL */ 
distinct
W.EMPLID
Error from SQR log file
(SQR 5528) ORACLE OCIStmtExecute error 936 in cursor 19:
   ORA-00936: missing expression
SQL:  SELECT /*+ PARALLEL */DISTINCT, W.EMPLID,

solution is to add the parallel hint as a table as shown below.
FROM  PS_JOB W
, (SELECT /*+ PARALLEL */ 'X' FROM DUAL)

Monday, September 19, 2016

A new content reference or folder is not shown in 'Structure and Content'

Issue: If a new content reference or a folder is added from application designer or is being migrated from other instance, and is not visible in Structure and Content.  Running Portal Security Sync also will not help sometimes.

Solution: Editing any content reference by clicking on Edit link will resolve the issue. I suggest add a dot at the end of long description and save, then remove the dot and save again. Once you click on Save, you should be able to see the new content reference in Portal Security Sync. 

Friday, February 5, 2016

Issues with Microsoft Word 2010 and Oracle BI Publisher 11.1.1 for PeopleSoft

Issues with Microsoft Word 2010 and Oracle BI Publisher 11.1.1 for PeopleSoft, refer to below URL.

https://mani2web.wordpress.com/2014/04/29/issues-with-microsoft-word-2010-and-oracle-bi-publisher-11-1-1-for-peoplesoft/

https://mani2web.wordpress.com/2014/05/02/issues-with-microsoft-word-2010-and-oracle-bi-publisher-11-1-1-for-peoplesoft-part-2/


Thursday, January 21, 2016

PeopleSoft Campus Solutions Tables

Refer to below link for peoplesoft Campus Solutions Tables

http://peoplesoft.wikidot.com/campus-solutions-tables