SQL语句中的字符串中出现了&符号,当执行的时候会被认为是参数需要传递,PLSQL会弹出一个variables的窗口
解决的方法是:
在正常的编写下将&替换为 '||'&'||'
如
update table set col='a&b' where col=1
修改为
update table set col='a'||'&'||'b' where col=1
SQL语句中的字符串中出现了&符号,当执行的时候会被认为是参数需要传递,PLSQL会弹出一个variables的窗口
解决的方法是:
在正常的编写下将&替换为 '||'&'||'
如
update table set col='a&b' where col=1
修改为
update table set col='a'||'&'||'b' where col=1