point target source to new target tables

This commit is contained in:
Paul Trowbridge 2025-08-27 15:08:50 -04:00
parent ce77ad7de3
commit c61729e017

View File

@ -265,7 +265,7 @@ BEGIN
,_tmath ,_tmath
,_volume_range ,_volume_range
FROM FROM
pricequote.target_prices tp pricequote.target_prices_base tp
WHERE WHERE
tp.stlc = _stlc tp.stlc = _stlc
AND tp.ds = _v1ds AND tp.ds = _v1ds
@ -283,7 +283,7 @@ BEGIN
INTO INTO
_tprice_last _tprice_last
FROM FROM
pricequote.target_prices tp pricequote.target_prices_base tp
WHERE WHERE
tp.stlc = _stlc tp.stlc = _stlc
AND tp.ds = _last_dataseg AND tp.ds = _last_dataseg