update table1 set col3 = substr(col3,2,length(col3)-2);

解决方案 »

  1.   

    update tabname set col3 = replace(replace(col3,'(',''),')','');
      

  2.   

    update tb set col3 = substr(col3,2,length(col3)-2);
      

  3.   

    对不起;col3列是NULL值,为number列;括号内的值是我想生成的结果
      

  4.   

    我想楼主可能是这个意思update yourtable t1
    set t1.col3 = (select count(*) from yourtable t2
                   where t2.col1 = t1.col1
                     and t2.rowid <= t1.rowid)
      

  5.   

    update table set col3=substr(col3,instr(col3,'(',1)+1,instr(col3,')',1)-1)