This attribute sets or returns the name of the primary index of the temp-table or buffer.

Data type: CHARACTER

Access: Readable/Writable

Applies to: Buffer object handle, Temp-table object handle

Notes

  • When used with a temp-table object handle, PRIMARY can only be updated before the TEMP-TABLE-PREPARE( ) method has been called. It returns the Unknown value (?) if the temp-table is not in a PREPARED state.

  • When used with a buffer object handle, PRIMARY is read-only.

    .