我有一个表名作为灿如何更新循环表
Internal_id not null VARCHAR2(10)
RCR not null VARCHAR2(10)
IVC. not null VARCHAR2(10)
目前还列没有值RCR
的值存储在列INTERNAL_ID就像
SER00001
SER00002 upto SER00093
我需要相应地更新RCR到internal_id
与SER00001一样,它将是SERSRV00001
SER00002 it will be SERSRV00002
等
我能做到这一点像更新可以在那里
RCR = lpad(Internal_id,3)||'SRV'||substr(Internal_id,4,6) where Internal_id = 'SER00001'
如何循环更新,而不是写了这么多的更新语句