update table
set c_age=right(c_age,len(c_age)-2)

解决方案 »

  1.   

    1:
    update table set c_age = right(c_age,len(c_age)-2)
       where len(c_age) >= 22:
    update table set c_age = substring(c_age,3,len(c_age))
       where len(c_age) >= 2
      

  2.   

    update 表 set c_age=right(c_age,4)
      

  3.   

    update tablename
    set c_age=substring(c_age,2,(len(c_age)-2)))
      

  4.   

    update 表 set c_age=right(c_age,4)
      

  5.   

    1:
    update table set c_age = right(c_age,len(c_age)-2)
       where len(c_age) >= 22:
    update table set c_age = substring(c_age,3,len(c_age))
       where len(c_age) >= 2
      

  6.   

    当 c_age 的前两个字符为 '00' 且 c_age 的长度不小于 2 时 才才进行更新update table set c_age = right(c_age,len(c_age)-2)
       where left(c_age,2)='00' and len(c_age) >= 2