commit: 2025-08-06 17:15:27

This commit is contained in:
Paul Trowbridge 2025-08-06 17:15:27 -04:00
parent d25f4fd838
commit b934bdda56

View File

@ -293,6 +293,7 @@ BEGIN
q.cust AS [customer], q.cust AS [customer],
q.chan AS [channel], q.chan AS [channel],
TRIM(q.tier) AS [tier] TRIM(q.tier) AS [tier]
-- JSON_QUERY(hist) AS [history]
FOR JSON PATH, WITHOUT_ARRAY_WRAPPER FOR JSON PATH, WITHOUT_ARRAY_WRAPPER
) )
FROM @queue q; FROM @queue q;
@ -456,5 +457,6 @@ BEGIN
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
-- Final: Return the enriched result row -- Final: Return the enriched result row
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
SELECT guidance_price, expl, ui_json FROM @queue; --SELECT guidance_price, hist, expl, ui_json FROM @queue;
SELECT * FROM @queue;
END; END;