Click here to Skip to main content
13,300,002 members (62,672 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I m working on the website
I m taking inputs from user and inserting in database.
When i run insert query from oracle database,the record is getting inserted successfully.
But when i try to run the same query from program, i m getting error-ORA-01858: a non-numeric character was found where a numeric

can someone how to solve it?
Posted 9-Oct-12 22:31pm
Jörgen Andersson 10-Oct-12 16:16pm
The error message is clear enough in itself, atleast in unclipped version: ORA-01858: a non-numeric character was found where a numeric was expected.
Can you please improve your question with the query and how you use it in your code.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Check your language settings; if your program uses i.e. GERMAN but the database uses AMERICA or vice versa, and you enter a numeric value with decimal places, you will receive this error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100