有一个cert表
有字段double_certsn,subject,certsn和cert_status
其中相同subject项的列会对应有2条以上的相同数据
double_certsn有的为空,有的不为空。
我想实现将ctml_name等于‘签名’的所有列的double_certsn为空的项,都填入数值,这个数值就是certsn后面加上四个零在SQL中如下语句可以实现
update cert set double_certsn=convert(VARCHAR2(40),certsn)+'0000'
where double_certsn is null and cert_status='Use' and ctml_name like '%签名%' 但在oracle中提示缺少表达式