Index example: Ordering with a shared-weight sort sequence table

Ordering with a shared-weight sort sequence table (SRTSEQ(*LANGIDSHR) LANGID(ENU)).

  SELECT * FROM STAFF
   WHERE JOB = 'MGR'
   ORDER BY JOB

When using the OPNQRYF command, specify:

OPNQRYF FILE((STAFF))
   QRYSLT('JOB *EQ ''MGR''') 
   KEYFLD(JOB) SRTSEQ(*LANGIDSHR) LANGID(ENU)

DB2 UDB for AS/400 could only use index SHRIX.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]