ORA-00900: invalid SQL statement when using Between
I'm trying to bring a range of dates (eg: form 200405 to 200507) applying a between statement as follows:
select BL_MO BETWEEN 200405 AND 200507 From PREMIUM_FACT
But when ever the sql statement is executed the following error is displayed
ORA-00900: invalid SQL statement
Any idea?
is the between function applied correct?
Thank you very much!

