数据库是ACCESS的,有一个备注字段,记录有3000条,很多记录中包含"保护区"这个词,现在想全部替换为"缓冲区",能用一个SQL语句做到吗?谢谢!

解决方案 »

  1.   

    update 你的表 set 备注字段 = '缓冲区' where 备注字段 like '%保护区%'
      

  2.   

    update tb set text=replace(text,'保护区','缓冲区')
      

  3.   

    update table set 备注字段名=REPLACE(备注字段名, '保护区', '缓冲区')
      

  4.   

    update 表 set 字段=replace(字段,'保护区','缓冲区')
      

  5.   

    update abc set a=replace(a,'原来的','新的')就行啊 就这样 没问题 , 
      

  6.   

    update tb set text=replace(text,'保护区','缓冲区')
      

  7.   

    先试试吧
    update 表 set 字段A=replace(字段A,'保护区','缓冲区')
      

  8.   

    新建的web技术交流群,欢迎大家加入一起讨论:
    群号:29037453