ORACLE replaces the content of a field

 

Explain: Replace "Xianke (information)" in the t.XXTSP field with'Xianke'

UPDATE TB_BASE_DEVICEMODEL_IMP t set t.XXTSP=REPLACE(t.XXTSP,'显科(信息)','显科')

 

Explain: remove the spaces on the left and right sides of the field t.CPSB 

update TB_BASE_DEVICEMODEL_IMP t set t.CPSB  = trim(t.CPSB);

 

Guess you like

Origin blog.csdn.net/qq_39999478/article/details/106311218