SSR_AIR_CRS_V2

(SQL View)
Index Back

AIR Course Item


SELECT a.INSTITUTION , a.SSR_ITEM_TYPE , a.SSR_ITEM_ID , a.EFFDT , a.EFF_STATUS , a.DESCR50 , c.SUBJECT , c.CATALOG_NBR , c.ACAD_CAREER , c.ACAD_ORG , c.CAMPUS , b.CRSE_ID , b.CRSE_OFFER_NBR , b.CRS_TOPIC_ID , c.SSR_CRSE_TYPOFF_CD , c.UNITS_MINIMUM , c.UNITS_MAXIMUM , a.EFFDT FROM PS_SSR_AIR_HDR a , PS_SSR_AIR_H_CRSE b , PS_CRSE_OFFER_TCVW c WHERE a.SSR_ITEM_TYPE = 'COURSE' AND a.INSTITUTION = b.INSTITUTION AND a.SSR_ITEM_ID = b.SSR_ITEM_ID AND a.EFFDT = b.EFFDT AND b.CRSE_ID = c.CRSE_ID AND b.CRSE_OFFER_NBR = c.CRSE_OFFER_NBR AND c.EFFDT = ( SELECT MAX(c1.EFFDT) FROM PS_CRSE_OFFER_TCVW c1 WHERE c1.CRSE_ID=c.CRSE_ID AND c1.CRSE_OFFER_NBR=c.CRSE_OFFER_NBR AND c1.EFFDT<=a.EFFDT) AND c.EFF_STATUS='A' UNION SELECT a.INSTITUTION , a.SSR_ITEM_TYPE , a.SSR_ITEM_ID , a.EFFDT , a.EFF_STATUS , a.DESCR50 , ' ' , ' ' , ' ' , ' ' , ' ' , b.CRSE_ID , b.CRSE_OFFER_NBR , b.CRS_TOPIC_ID , ' ' , c.UNITS_MINIMUM , c.UNITS_MAXIMUM , a.EFFDT FROM PS_SSR_AIR_HDR a , PS_SSR_AIR_H_CRSE b , PS_CRSE_CATALOG c WHERE a.SSR_ITEM_TYPE = 'COURSE' AND a.INSTITUTION = b.INSTITUTION AND a.SSR_ITEM_ID = b.SSR_ITEM_ID AND a.EFFDT = b.EFFDT AND b.CRSE_OFFER_NBR = 0 AND b.CRSE_ID = c.CRSE_ID AND c.EFFDT = ( SELECT MAX(c1.EFFDT) FROM PS_CRSE_CATALOG c1 WHERE c1.CRSE_ID=c.CRSE_ID AND c1.EFFDT<=a.EFFDT) AND c.EFF_STATUS='A'

  • Related Language Record: SSR_AIR_CRS_V2L
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Prompt Table: INSTITUTION_TBL

    2 SSR_ITEM_TYPE Character(20) VARCHAR2(20) NOT NULL Academic Item Type

    Prompt Table: SSR_ITEM_TYPE

    3 SSR_ITEM_ID Character(11) VARCHAR2(11) NOT NULL Academic Item ID

    Prompt Table: SSR_AIR_SRCH

    4 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    6 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    7 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area

    Prompt Table: SUBJECT_SRCH_VW

    8 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
    9 ACAD_CAREER Character(4) VARCHAR2(4) NOT NULL Academic Career
    BAC=Bachelor (NLD)
    BBL=Vocational Coaching (NLD)
    BOL=Vocational Training (NLD)
    BUSN=Graduate Business
    CNED=Continuing Education
    CRED=Semester Credit
    EDU=Education (NLD)
    EXED=Extended Education
    GRAD=Graduate
    LAW=Law
    MEDS=Medical School
    NONA=Non Award
    PGRD=Postgraduate
    RSCH=Research
    TECH=Technical
    UENG=Undergraduate Engineering
    UGRD=Undergraduate
    VAVO=Advanced General Educ. (NLD)
    VETM=Veterinary Medicine
    10 ACAD_ORG Character(10) VARCHAR2(10) NOT NULL Academic Organization

    Prompt Table: ACAD_ORG_TBL

    11 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus

    Prompt Table: CAMPUS_TBL

    12 CRSE_ID Character(6) VARCHAR2(6) NOT NULL AIR Course ID
    13 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL AIR Offering Number
    14 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL AIR Topic ID
    15 SSR_CRSE_TYPOFF_CD Character(10) VARCHAR2(10) NOT NULL Course Typically Offered
    16 UNITS_MINIMUM Number(6,2) DECIMAL(5,2) NOT NULL Minimum Units
    17 UNITS_MAXIMUM Number(6,2) DECIMAL(5,2) NOT NULL Maximum Units
    18 ORIG_EFFDT Date(10) DATE Original Effdt