---
title: "oracle  列内容部分替换"
author: "ydsakyclguozi"
date: "2011-03-04T10:31:32Z"
tags: ["Oracle"]
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2011-04-07T17:20:29Z"
id: 940311
url: "https://52347.iteye.com/blog/940311"
---

需求：

 

mytable某列S中含有‘192.168.2.231:8086’字符串，现需替换为‘192.168.2.98:8103’

 

实现：

 

update portal.mytable set s=   Replace(s, '231:8086','98:8103')   ;

 

南京广告公司、利比亚、日本、油价、淘宝