Craig
09/03/2024, 8:27 PMWHERE
master.id IN (
SELECT DISTINCT tran.entity
FROM transaction tran
WHERE tran.trandate > CURRENT_DATE - 1
)
Adding this to my query gives this error
Column:CURRENT_DATE not found.
Any idea why?Stephanie Hughes
09/03/2024, 8:33 PMCraig
09/03/2024, 8:34 PMWHERE tran.trandate > TO_DATE(CURRENT_DATE - 1)
Like this?Craig
09/03/2024, 8:34 PMStephanie Hughes
09/03/2024, 8:34 PMCraig
09/03/2024, 8:34 PMCraig
09/03/2024, 8:35 PMStephanie Hughes
09/03/2024, 8:35 PMCraig
09/03/2024, 8:36 PMCraig
09/03/2024, 8:36 PMWHERE
master.id IN (CUSTOMER_ID_ARRAY)
Craig
09/03/2024, 8:37 PM