FUNC_GET_PY(),FUNC_GET_WB()是我自定义的两个获取参数拼音码和五笔码的数据库function,使用的时候就如下直接调用
update PLUS_OPERATOR p set (p.PY_CODE,p.WB_CODE)=
(select FUNC_GET_PY(c.OPER_NAME),FUNC_GET_WB(c.OPER_NAME) from CODE_OPERATOR c where c.OPER_CODE= p.OPER_CODE and c.OPER_CODE !='00')