SSR_CRSCATBDVWL

(SQL View)
Index Back

Course Pop Select bind rec


SELECT b.institution , a.crse_id , a.effdt , c.language_cd , c.descr FROM ps_crse_catalog a , PS_CRSE_OFFER b , ps_crse_catlg_lng c WHERE a.crse_id = b.crse_id AND a.effdt = b.effdt AND a.crse_id = c.crse_id and a.effdt = c.effdt AND b.course_approved = 'A' AND (a.effdt = ( SELECT MAX(a1.effdt) FROM ps_crse_catalog a1 WHERE a.crse_id = a1.crse_id AND a1.effdt <= %CurrentDateIn) OR (a.effdt > %CurrentDateIn AND NOT EXISTS ( SELECT 'X' FROM PS_CRSE_CATALOG a2 WHERE a.crse_id = a2.crse_id AND a2.effdt <= %CurrentDateIn)) AND a.effdt = ( SELECT MIN(a3.effdt) FROM ps_crse_catalog a3 WHERE a.crse_id = a3.crse_id AND a3.effdt > %CurrentDateIn))

  • Related Language Record for SSR_CRSECAT_BND
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
    2 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
    3 EFFDT Date(10) DATE Effective Date
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description