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

Parsing Error in SQL Query


f_chas01

Recommended Posts

There is some obvious problem while parsing the sql query.

Parsing this query works perfectly:

select '01.02.$P!{P_YEAR}' txt from dual

But if the parameter is within some certain bracket constallation it does not work, example:

select to_char(last_day(to_date('01.02.$P!{P_YEAR}', 'dd.mm.yyyy')),'DD') txt from dual

$P!{} will not be evaluated. You will get the same error message, as if you would write

select to_char(last_day(to_date('01.02.blablabla', 'dd.mm.yyyy')),'DD') txt from dual

The error is:

Code:


Post Edited by f_chas01 at 06/29/2011 14:35
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

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...