Posted on 2011-02-21
Last Modified: 2012-05-11
I insert or update  table this error message generated.


SQL> select to_number('34,33') from dual;


Bu update this column x number(7,2) value is 3433.

update y
set x=to_number('34,33');

after this statement


Question by:venomx_
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 28

Expert Comment

by:Naveen Kumar
ID: 34941068
is update or insert or select giving the error for you ?
LVL 12

Expert Comment

ID: 34941181
decimal point is, as the name implies, the point
LVL 28

Expert Comment

by:Naveen Kumar
ID: 34941199
i am yet to understand what is your issue with the update or select ?
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 500 total points
ID: 34941971
please check your setting of NLS_NUMERIC_CHARACTERS:

it is likely defining the "." as decimal, and "," as thousand separator.


Expert Comment

ID: 34941979
Check the session parameters NLS_NUMERIC_CHARACTERS.

It may be the case that you are using ',' as a group seperator.

What is the output of following? (Need to to login with sysdba privilege)

select * from nls_database_parameters where parameter like '%NUMERIC%';
select * from nls_session_parameters where parameter like '%NUMERIC%';
select * from nls_instance_parameters where parameter like '%NUMERIC%';

Are you running both the statements in different sessions? Please confirm.

Jaimin Soni

Expert Comment

ID: 34942038
Also, are you getting error ORA-1722 when you update?

In that case update will fail anyways.

What is the value of x before the update? Is it 3433?

Please confirm...

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question