How to replace specific values in a oracle database column?

后端 未结 4 783
北恋
北恋 2020-12-04 11:15

I am looking to replace values in a particular column. For example the following column values

column name
----------
Test1
Test2
Test3
Test12
4条回答
  •  离开以前
    2020-12-04 11:53

    I'm using Version 4.0.2.15 with Build 15.21

    For me I needed this:

    UPDATE table_name SET column_name = REPLACE(column_name,"search str","replace str");
    

    Putting t.column_name in the first argument of replace did not work.

提交回复
热议问题