SELECT
  SOPTYPE AS soptype,
  SOPNUMBE AS sopnumbe,
  SEQNUMBR AS seqnumbr,
  DISTTYPE AS disttype,
  DistRef AS distref,
  ACTINDX AS actindx,
  DEBITAMT AS debitamt,
  ORDBTAMT AS ordbtamt,
  CRDTAMNT AS crdtamnt,
  ORCRDAMT AS orcrdamt,
  CURRNIDX AS currnidx,
  TRXSORCE AS trxsorce,
  POSTED AS posted,
  Contract_Exchange_Rate AS contract_exchange_rate,
  DEX_ROW_ID AS dex_row_id
FROM [GPSERVER].[CHG].[dbo].[SOP10102]
WHERE 
    DEX_ROW_ID >= {row_id}
