update t set col='A.'+col

解决方案 »

  1.   

    update table set col = 'A.' + col
      

  2.   

    噢,可以,是自己搞错了,主要是里面有些NULL值的,那这些该怎么加呢
      

  3.   

    update  表 set 列名='A.'+列名  where 列名 is not null
      

  4.   

    有null就:
    update table set col = 'A.' + isnull(col,'')
      

  5.   

    如果不想处理null值的行,用bqb(萧雨) 说的就可以
      

  6.   

    update 灌水表 set 帅哥 =('A.'+帅哥)
      

  7.   

    完了,改错了,第一个字mu应该是G.怎么做???
      

  8.   

    update t set col=replace(col,'A.','G.')
      

  9.   

    UPDATE yourTable
    SET col = 'G.' + SUBSTRING(col, 3, LEN(col))
      

  10.   

    楼主好幽默update t set col=stuff(col,1,1,'G')