Using triggers to enable PROGRESS_RECID support of the ROWID function
- Last Updated: January 17, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
If you want to use the ROWID function
with a data source, you must select an index to associate with this
function. Adding a new integer column named PROGRESS_RECID and
defining it as a single-component index is the preferred method.
This method can only be applied to a table that does not currently
have an identity column defined. If your table already has an identity
column, you can support ROWID by selecting an existing
index. See Defining the ROWID for instructions on selecting an existing index.
The following procedure describes how to create the PROGRESS_RECID column
to support ROWID. To use the ROWID function with
a MS SQL Server database, you must make changes to your data source table.
PROGRESS_RECID recognizes
an INT64 value for a MS SQL Server DataServer.
The unique key value in the PROGRESS_RECID will
be derived by default from a 64-bit value. (For prior releases,
the value was derived, by default, from the 32-bit INTEGER.) To modify a table to support the ROWID function: