FS_SD_NONKEYFLD

(SQL View)
Index Back

Unique Key Fields

View of fields defined as part of the primary unique key on a record. Similar to PSRECFLDKEYVW except that view only works for records that are of Record Type SQL Table. This view also displays unique keys on records based solely on PeopleTools Record MetaData, i.e. works for views and work records also.

SELECT A.RECNAME ,A.FIELDNAME FROM PSRECFIELDALL A WHERE %DecMult(%Round(%DECDIV(A.USEEDIT,2),0 ) , 2) = A.USEEDIT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 RECNAME Character(15) VARCHAR2(15) NOT NULL Record (Table) Name (see PSRECDEFN).
2 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).