长度超了吧
试试:
     set a = rtrim(a)+'a'

解决方案 »

  1.   

    --更新一个char字段,看来是字段类型的问题,char会自动填充空格,所以得这样写:update A set a = rtrim(a) + 'a' where id = 111 --如果是varchar字段就不存在这个问题了.
      

  2.   

    update A set a = a + 'a' where id = 111 a是char是会出错的,a字段的数据长度不够时会用空格填充所以再+'a'则超过a字段的长度,所以要set a = rtrim(a)+'a'
      

  3.   

    update A set a = rtrim(a) + 'a' where id = 111