|
1)取子串,填入另一列 1.1)repl all 臨時(shí) with substr(統(tǒng)一編號舊,2,6) '從“統(tǒng)一編號舊”字段中,取出.第2個(gè)字符到第6個(gè)(第2-第7)字符 1.2)將“統(tǒng)一編號舊”字段中的記錄“3042183”,變成臨時(shí)字段中“0402183c” repl all 臨時(shí) with substr(統(tǒng)一編號舊,2,2) '去掉第1個(gè)“3” + “0”+ substr(統(tǒng)一編號舊,4,4) '在“04”后插入“0” + “以” 2)
|