PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Query - Converting SQL criteria for max effdt to PS QUERY

edited Apr 11, 2013 6:41AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered ✓
 I created an Oracle SQL that gets the information that I need.  There is one criteria within the SQL that I am having trouble re-creating in PS Query.  Any suggestions would be greatly appreciated. The criteria is

and j.effdt  =
(select max(j1.effdt)
  from ps_job j1
 where j1.emplid = j.emplid
        and j1.empl_rcd = j.empl_rcd
and ((j1.action = 'AAA' and j1.action_reason = 'BBB')
or  (j1.action = 'CCC' and j1.action_reason = 'DDD'))
and j1.effdt <= sysdate)  

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center