I am creating a query in SSRS, I have my parameters defines as DATE/TIME, and the field I am querying
is stores as DATE, but when I write the code:
select * from <table> WHERE Date between @Date1 and @Date2
it keeps throwing the error: ORA-01858: non-numeric character found where a numeric was expected. I've
tried placing single quotes around @Date1 and @Date2, I've tried to add +'00:00:00' on the ends for time, I've tried CAST and CONVERT and still error's out.
If anyone can shed some light on my code, I'd appreciate it.