Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Oracle
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 9-Oct-12 21:31pm
Comments
Jörgen Andersson at 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
good
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
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2014
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