---
title: "sqlplus 中 & 转义"
author: "robin88129"
date: "2014-02-14T10:39:53Z"
tags: []
categories: ["数据库"]
slug: "sqlplus"
draft: false
lastmod: "2014-02-14T10:39:53Z"
id: 2017250
url: "https://robin88129.iteye.com/blog/2017250"
---

方法一：

 excute 'set define off'  first，then excute sql

 

方法二：

 

We just need to separate the string from the character after "&" and concatenate the two substrings with "||".

 

 

For example, for string "ABCD & EFGH", we can write it as 'ABCD &' || ' EFGH' in sql.