---
title: "update某个列时，向该列追加某个字符串"
author: "ztttly"
date: "2010-04-15T10:43:36Z"
tags: ["Oracle"]
categories: ["数据库"]
slug: "update"
draft: false
lastmod: "2010-04-15T10:43:36Z"
id: 644362
url: "https://ztttly.iteye.com/blog/644362"
---

1 问题：
ORACLE库中，某张表zt_test的一列字段info_1是varchar类型。
需要将info_1列追加一个字符'_2'。
例如原来的info_1列是：123
更新后:123_2
2 解决：
使用CONCAT函数
具体的update语句如下：
update zt_test set info_1=CONCAT(info_1,'_2') where info='ttt'