You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
218 B
SQL

SELECT *
FROM INVENTORY_TRANSACTION_HIST
Where SOURCE_REF_TYPE = 'Shop Order'
and (TRUNC(DATE_APPLIED) >= to_date('&VALID_FROM', 'MM/DD/YYYY') AND
TRUNC(DATE_APPLIED) <= to_date('&VALID_TO', 'MM/DD/YYYY'))