update tab set f1='010000001……010000010' where f1='10000011……10000020'
根据LZ提出的问题,只能这样理解了

解决方案 »

  1.   

    把像10000001 的数据,全部替换成010000001这样的数据就是在前面+个 0?
    update tab set f1='0'||f1
      

  2.   

    --for example :
    [email protected]>select * from test_tab1;ID
    ----------
    10011
    10012
    10013
    10014
    10015
    10016
    10017
    10018
    10019
    10020已选择10行。[email protected]>commit ;提交完成。[email protected]>update test_tab1 set id = '0'||to_char(to_number(id)-10)
      2  /已更新10行。[email protected]>select * from test_tab1;ID
    ----------
    010001
    010002
    010003
    010004
    010005
    010006
    010007
    010008
    010009
    010010已选择10行。