SQLTXTDEFN_VW1

(SQL View)
Index Back

SQL Shadow Table

This is an SQL/XSLT Shadow Table used for 3Way Merge feature in Change Assistant.

SELECT DISTINCT E.SQLID , E.SQLTYPE , E.MARKET , E.DBTYPE , E.EFFDT , E.SEQNUM , B.OBJECTTYPE , F.VERSION ,'PPLSOFT' , F.LASTUPDDTTM , F.ENABLEEFFDT , F.OBJECTOWNERID FROM %Table(PTIASPRPTHEAD) A , %Table(PTIASPRPTMOL) B , %Table(PTIASPSRCINFO) C , %Table(PSSQLTEXTDEFN) E ,%Table(PSSQLDEFN) F WHERE A.PTIASPRPTNO = B.PTIASPRPTNO AND A.PTIASPSPVERS = C.PTIASPSPVERS AND E.SQLID = F.SQLID AND E.SQLTYPE = F.SQLTYPE AND B.OBJECTVALUE1 = E.SQLID AND B.OBJECTVALUE2 = E.SQLTYPE AND B.OBJECTTYPE IN (30,62)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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)
  • 2 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
  • 3 MARKET Character(3) VARCHAR2(3) NOT NULL Market
    4 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
    5 EFFDT Date(10) DATE Effective Date
    6 SEQNUM Number(3,0) SMALLINT NOT NULL Sequence Number
    7 OBJECTTYPE Number(5,0) INTEGER NOT NULL Object Type
    8 VERSION Number(10,0) DECIMAL(10) NOT NULL Version. Internal PeopleTools version for controlling caching of object. - Version/Table reference
    9 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.
    10 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.
    11 ENABLEEFFDT Character(1) VARCHAR2(1) NOT NULL Enable effective dating
    12 OBJECTOWNERID Character(4) VARCHAR2(4) NOT NULL Object owner identifier