Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Complete list of changes from PeopleSoft8.8

Posted on 2007-08-09
2
Medium Priority
?
1,114 Views
Last Modified: 2013-11-16
I am trying to generate a complete listing of changes from the PeopleSoft 8.8 application and have the following 2 slightly different queries. Can someone tell me the diffrence between the 2? i.e. why does query B use the table "psrecdefn" whereas table A does not ?

A)
SELECT A.PROJECTNAME, A.PROJECTDESCR
TO_CHAR (A.LASTUPDDTTM,'YYYY-MM-DD-HH24.MI.SS."000000"'),
      A.LASTUPDOPRID,
      A.DESCRLONG,
      B.OBJECTTYPE,
      B.OBJECTVALUE1
      FROM PSPROJECTDEFN A,
      PSPROJECTITEM B
      WHERE A.LASTUPDDTTM > TO_DATE (SUBSTR ('2007-01-01-00.00.00.000000', 0,19),'YYYY-MM-DD-HH24.MI.SS')
      AND A.PROJECTNAME = B.PROJECTNAME
      /

Query B) SQL> select distinct a.projectname as PROJNAME, a.objectvalue1 as RECNAME,
  2  b.lastupdoprid as "MIGRATED ID", b.lastupddttm as "MIGRATED DATE/TIME",
  3  c.lastupdOprid as "Dev. ID", c.lastupddttm as "Dev. DATE/TIME"
  4  from psprojectitem a, psprojectdefn b, psrecdefn c
  5  where a.objectvalue1 = c.recname
  6  and c.lastupdoprid='&oprid'
  7  and b.projectname = a.projectname
  8  and b.lastupddttm >  to_date('01-JAN-2006', 'DD-MON-YYYY')
  9  /


I really want to know the mechanics behind what the queries are pulling and what the diffrence between the 2 is  !!!

Thanks !!!
0
Comment
Question by:techtook
2 Comments
 
LVL 14

Accepted Solution

by:
sathyagiri earned 2000 total points
ID: 19667616
The first query seems to return all changes made irrespective of the user who did it.

The second query filters the changes based on the userid who did it.
0
 

Author Comment

by:techtook
ID: 19851571
Sorry for the delay. I did not have net connectivity.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question