Following query does not show any output but it does not have any errors -
select inv_id
from invoice_table
where
INVOICE_DATE BETWEEN to_char(P_INVOICE_START_DATE,'DD-MON-YYYY')AND to_char(P_INVOICE_END_DATE,'DD-MON-YYYY');
Where did I go wrong and how can i improve it?