DYK PS Query Metadata Record
Do You Know how the PS Metadata is related to PS Query? I would like to show you all the important Metadata records that you need to know about. Based on the following 7 records, you should be able to find all the private and public queries defined in PS Query.
- PSQryDefn : Query definition table related to owner, status and etc. one entry per query.
- PSQrySelect : All the record field statistic counts of query. One entry for each union query.
- PSQryField : All the record field selected in query, the RECORD.FIELDs are defined in SELECT statement.
- PSQryRecord : All the records joined together with correlation name under FROM statement.
- PSQryCriteria : All the RECORD.FIELD criteria under WHERE statement, all information is encoded with numbers only.
- PSQryExpr : All the expression used in query and the record fields are encoded with number.
- PSQryBind : All the PROMPTs used in query.