Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I m working on the asp.net 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
Comments
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

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900