输入banner图图片脚本导航/分类

Oralce给字段追加字符,以及oracle 给字段替换字符

update table_name  t

set t.DIST_NAME = t.DIST_NAME || ‘市‘

where PROD_NAME=‘爱立信‘

table_name  :表名   DIST_NAME:要追加字符的字段      ‘市‘: 追加字符的内容  where 后面为条件 (可不写)

 

替换字符

update table set 字段 =replace(字段,‘hello’,‘你好’) where 条件 

table 为表名    hello 为原来的字符  你好为 要更改的字符    

 

Oralce给字段追加字符,以及oracle 给字段替换字符

标签:style   family   nbsp   update   name   oralce   ||   字符   内容