ITeye博客

sqlplus 中 & 转义

robin88129 · 2014-02-14 10:39 · 数据库 · 数据库 · Markdown

方法一:

 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.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。