diff --git a/procs/single_price_call.pg.sql b/procs/single_price_call.pg.sql index c3d7d54..457c7f6 100644 --- a/procs/single_price_call.pg.sql +++ b/procs/single_price_call.pg.sql @@ -265,7 +265,7 @@ BEGIN ,_tmath ,_volume_range FROM - pricequote.target_prices tp + pricequote.target_prices_base tp WHERE tp.stlc = _stlc AND tp.ds = _v1ds @@ -283,7 +283,7 @@ BEGIN INTO _tprice_last FROM - pricequote.target_prices tp + pricequote.target_prices_base tp WHERE tp.stlc = _stlc AND tp.ds = _last_dataseg