HR_SCRTY_SQLTXT

(SQL View)
Index Back

SQL Object Text

SQL Object Text

SELECT SCRTY.SCRTY_SET_CD ,SCRTY.SCRTY_TYPE_CD ,SQL.SQLID , SQL.SQLTYPE , SQL.MARKET , SQL.DBTYPE , SQL.EFFDT , SQL.SEQNUM , SQL.SQLTEXT FROM PSSQLTEXTDEFN 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 MARKET Character(3) VARCHAR2(3) NOT NULL Market
    6 DBTYPE Character(1) VARCHAR2(1) NOT NULL Database Type
    0=SQLBase
    1=DB2
    2=Oracle
    3=Informix
    4=DB2/UNIX
    5=AllBase
    6=Sybase
    7=Microsoft
    8=DB2/400
    7 EFFDT Date(10) DATE Effective Date
    8 SEQNUM Number(3,0) SMALLINT NOT NULL Sequence Number
    9 SQLTEXT Long Character(14000) CLOB SQL Statement Text