I am trying to produce records for a specific range of accounts. How can I write it correctly?
Below is how I do it. It produced wrong results because it also give some accounts that is not on the range that I input as parameters.
AND jeh.period_name >= :FPERIOD_NAME
AND jeh.period_name <= :TPERIOD_NAME