HR_SCRTY_SQLDFN

(SQL View)
Index Back

SQL Object Defn

SQL Object Defn

SELECT DISTINCT SCRTY.SCRTY_SET_CD ,SCRTY.SCRTY_TYPE_CD ,SQL.SQLID , SQL.SQLTYPE , SQL.VERSION , SQL.LASTUPDOPRID , SQL.LASTUPDDTTM , SQL.ENABLEEFFDT , SQL.OBJECTOWNERID FROM PSSQLDEFN SQL ,PS_SCRTY_TYPE_SQL SCRTY WHERE( SQL.SQLID =SCRTY.SEC_SQL_FLDNM OR SQL.SQLID=SCRTY.SEC_SQL_KEYVAL OR SQL.SQLID=SCRTY.SEC_SQL_FLDVAL OR SQL.SQLID =SCRTY.SEC_SQL_FROM OR SQL.SQLID =SCRTY.SEC_SQL_WHERE OR SQL.SQLID=SCRTY.SEC_SQL_FUT_WHERE )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SCRTY_SET_CD Character(10) VARCHAR2(10) NOT NULL Security Set
2 SCRTY_TYPE_CD Character(3) VARCHAR2(3) NOT NULL Security Type for RowLevelSecurty
3 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)
  • 4 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
  • 5 VERSION Number(10,0) DECIMAL(10) NOT NULL Version. Internal PeopleTools version for controlling caching of object. - Version/Table reference
    6 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.
    7 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.
    8 ENABLEEFFDT Character(1) VARCHAR2(1) NOT NULL Enable effective dating
    9 OBJECTOWNERID Character(4) VARCHAR2(4) NOT NULL Object owner identifier