Files
monorepo/LCU.Api.Internal.CoreApiWrapper/LCU.Library.Internal.CoreApiWrapperLib/Queries/QueApplParamQuery.sql
T
2026-03-31 14:32:23 -05:00

10 lines
385 B
SQL

SELECT q.QUENBR AS QueueNumber,
q.ApplNbr AS ApplicationNumber,
q.ParameterCd AS ParameterCode,
q.ParameterValue AS ParameterValue,
q.DateLastMaint AS DateLastMaint
FROM QUEAPPLPARAM q
INNER JOIN que ON que.quenbr = q.quenbr
WHERE q.APPLNBR in ({ApplicationNumbersHolder})
AND que.EffDate = TO_TIMESTAMP(:EffectiveDate, 'YYYY-MM-DD HH24:MI:SS')
ORDER BY q.QUENBR DESC