PTIASQLDEFN_VW

(SQL View)
Index Back

View for SQL defn per project


SELECT PROJECTNAME , SQLID , SQLTYPE , VERSION , LASTUPDOPRID , LASTUPDDTTM , ENABLEEFFDT , OBJECTOWNERID FROM PSSQLDEFN , PSPROJECTITEM WHERE PSPROJECTITEM.OBJECTVALUE1 = PSSQLDEFN.SQLID AND PSPROJECTITEM.OBJECTVALUE2 = PSSQLDEFN.SQLTYPE AND PSPROJECTITEM.OBJECTTYPE IN (30, 62)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROJECTNAME Character(30) VARCHAR2(30) NOT NULL Project Name (see PSPROJECTDEFN).
2 SQLID Character(30) VARCHAR2(30) NOT NULL SQL Object Identifier. This column has different meanings depending upon value of SQLTYPE
  • SQLTYPE = 0: SQL object name
  • SQLTYPE = 1: Application Engine Step Identifier
  • SQLTYPE = 2: RECNAME
  • SQLTYPE = 6: Application Engine XSLT (XML definition)
  • 3 SQLTYPE Character(1) VARCHAR2(1) NOT NULL SQL Object type
  • 0=SQL Object referenced from elsewhere
  • 1=Application Engine Step
  • 2=SQL View
  • 5=Queries for DDDAUDIT and SYSAUDIT
  • 6= Application Engine Step XSLT
  • 4 VERSION Number(10,0) DECIMAL(10) NOT NULL Version. Internal PeopleTools version for controlling caching of object. - Version/Table reference
    5 LASTUPDOPRID Character(30) VARCHAR2(30) NOT NULL Specifies the User ID which made the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
    6 LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
    7 ENABLEEFFDT Character(1) VARCHAR2(1) NOT NULL Enable effective dating
    8 OBJECTOWNERID Character(4) VARCHAR2(4) NOT NULL Object owner identifier