SELECT
  [SOPTYPE] AS [soptype],
  RTRIM([SOPNUMBE]) AS [sopnumbe],
  RTRIM([PRCHLDID]) AS [prchldid],
  [DELETE1] AS [delete1],
  RTRIM([USERID]) AS [userid],
  [HOLDDATE] AS [holddate],
  [TIME1] AS [time1],
  RTRIM([TRXSORCE]) AS [trxsorce],
  [DEX_ROW_ID] AS [dex_row_id]
FROM [GPSERVER].[CHG].[dbo].[SOP10104]
