SELECT
  [SGMTNUMB] AS [sgmtnumb],
  RTRIM([SGMTNAME]) AS [sgmtname],
  [LOFSGMNT] AS [lofsgmnt],
  [MXLENSEG] AS [mxlenseg],
  [USDFSGKY] AS [usdfsgky],
  [MNSEGIND] AS [mnsegind],
  RTRIM([SegmentWidth]) AS [segmentwidth],
  [DEX_ROW_TS] AS [dex_row_ts],
  [DEX_ROW_ID] AS [dex_row_id]
FROM [GPSERVER].[CHG].[dbo].[SY00300]
