Find change data references in a time range with minimal Change tracking
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Find change data references in a time range with minimal Change tracking
When the table Policy defines change tracking as Level 0 or Level 1, the Change table is not used. Instead, the Change Tracking table identifies the type of change and the row in the source table that was changed.
The following example is a simple case of an application table with only one CDC table policy applied. This query identifies all the changes made to the source table in a specific change order and within a time range.
|
This use case is for a more complex case of any change -tracked application table with multiple CDC table Policies applied to it. This query finds all the changes that were made to the source table in the order in which the changes were made for the policy that is currently active. For this table, the table policy defines that the client sets the table Name parameter, Owner Name parameter, Start Time for the time range, and End Time for the time range. For improved performance, this query should be performed in two steps. The single step query is as follows:
|
The two step query is shown below. The second step can use an index to avoid sorting and is as follows:
|