Jump to content
We've recently updated our Privacy Statement, available here ×

Date parameter problem. Urgent.


subeshvasu

Recommended Posts

Hi,

I have defined a query in jasperserver like below .

select  eno, ename, doj, sal from employ where
doj between to_date('$P!{p_start}')  and to_date('$P!{p_end}')

Report input controls  are p_start and p_end as parameters.,   Now when i run my report   I get below exception

78 ERROR MultiDataSourceQueryExecuter,http-9080-Processor25:130 - Error executing the report: java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected

select  eno, ename, doj, sal from employ where doj between to_date('Mon Nov 03 00:00:00 IST 2003')  and to_date('Sat Nov 28 00:00:00 IST 2015')  Parameters: []

Need to know , why my query parameters are getting replaced like above?

Pls provide me a solution for this.

 

 

 

 



Post Edited by subeshvasu at 11/25/2009 08:04
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...