求一句sql!

firefox_1983 2006-03-06 05:23:18
<FONT face=Arial size=2><STRONG><IMG height=220 src="http://www.ep365.com/english/gl/upload/2006215105416184.jpg" width=300 align=right border=0>The best dive trips, liveaboards, resorts, and tours in Australia are represented here in the On-line Australia
.............
上边是表中一个字段中的一条记录,每条记录格式相同。先要把'www.ep365.com'更换成'localhost',如何写sql?
...全文
96 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xeqtr1982 2006-03-06
  • 打赏
  • 举报
回复
update yourtable set 字段=replace(字段,'www.ep365.com','localhost')
xeqtr1982 2006-03-06
  • 打赏
  • 举报
回复
replace(字段,'www.ep365.com','localhost')
lsqkeke 2006-03-06
  • 打赏
  • 举报
回复
update 表名 set colname=replace(colname,'www.ep365.com','localhost')
子陌红尘 2006-03-06
  • 打赏
  • 举报
回复
update 表 set 字段=replace(字段,'www.ep365.com','localhost')

34,873

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧