SELECT
  [qid] AS qid,
  [qline] AS qline,
  RTRIM([rep]) AS rep,
  RTRIM([approverusername]) AS approverusername,
  [touched] AS touched,
  [expires] AS expires,
  [request] AS request,
  RTRIM([qtitle]) AS qtitle,
  [qstatid] AS qstatid,
  RTRIM([qstat]) AS qstat,
  [quotenumber] AS quotenumber,
  RTRIM([billto]) AS billto,
  RTRIM([shipto]) AS shipto,
  RTRIM([qchan]) AS qchan,
  RTRIM([qcustomer]) AS qcustomer,
  RTRIM([part]) AS part,
  RTRIM([qoptions]) AS qoptions,
  RTRIM([partbuilt]) AS partbuilt,
  RTRIM([colgrp]) AS colgrp,
  RTRIM([colc]) AS colc,
  RTRIM([coltier]) AS coltier,
  RTRIM([brand]) AS brand,
  RTRIM([dataseg]) AS dataseg,
  RTRIM([v1ds]) AS v1ds,
  RTRIM([comment]) AS comment,
  [units_each] AS units_each,
  [price] AS price,
  [sales] AS sales,
  [histprice] AS histprice,
  [targetp] AS targetp,
  [LastSalesPrice] AS lastsalesprice,
  RTRIM([r_curr]) AS r_curr,
  [qt_rate] AS qt_rate,
  [qrn] AS qrn,
  RTRIM([url]) AS url,
  RTRIM([tacticalmodifier]) AS tacticalmodifier,
  [FinalRecommendedPrice] AS finalrecommendedprice,
  [LowerPriceLimit] AS lowerpricelimit,
  [UpperPriceLimit] AS upperpricelimit,
  [curstdus] AS curstdus,
  [futstdus] AS futstdus
FROM [FANALYSIS].[RLARP].[live_quotes]
