Skip to Content
author's profile photo Former Member
Former Member

TO_DATE and Oracle JDVC Receiver

I have done exactly the same what was described in blog /people/alessandro.berta/blog/2005/10/04/datetime-datatypes-and-oracle-database

My XML SQL part is

<access>

...

<M_BIRTDAY hasQuot="NO">TO_DATE('12.12.2003','DD.MM.YYYY')</M_BIRTDAY>

</access>

But I am always gettion an error java.sql.SQLException: ORA-00907: missing right parenthesis

How to solve this problem? How to trace SQL of Adapter?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 06:26 AM

    I think Oracle internal data format is something like this 23-Jan-2005. Better check it and one other thing in the the date conversion you can mention <b>mmm</b> which will give you the month name. I've tried it once the month was converted into 3 char month name. It works.

    regards

    Shravan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.