首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

轮换sql server 中的text类型中内容的关键词

2012-08-31 
替换sql server 中的text类型中内容的关键词留个笔记update test set test.content test1.b from test, (

替换sql server 中的text类型中内容的关键词
留个笔记

update test set test.content =test1.b from test, (select id as a,REPLACE(CAST( content as varchar),'日本','日本鬼子')as b from test) test1where test.id =test1.a 

热点排行