Function ctChangesSafeQuery

  • Steps

    To obtain data inside a snapshot transaction, perform the following steps: (Reference)

    1. Set the transaction isolation level to snapshot and start a transaction.
    2. Validate the last synchronization version by using CHANGE_TRACKING_MIN_VALID_VERSION().
    3. Obtain the version to be used the next time by using CHANGE_TRACKING_CURRENT_VERSION().
    4. Obtain the changes for the table by using CHANGETABLE(CHANGES ...)
    5. Commit the transaction.

    Parameters

    • __namedParameters: QueryInput & {
          changeQuery: string;
      }

    Returns string

Generated using TypeDoc