昨天在更新一个表的字段时发现pl/sql弹出变量框,它认为我要改的字段值中包含未定义的变量。比如我执行一个脚本:

update t_wlf_config set configvalue = 'hello&hi' where configname = 'hello'; 

  那么它会认为hi是个变量而提示你输入具体值。解决方案是用chr(38)替换&,再使用||关联字符串,如上面字段值改为'hello'||chr(38)||'hi'就没问题了。

相关文章:

  • 2021-08-04
  • 2021-05-18
  • 2022-12-23
  • 2021-12-21
  • 2021-12-23
  • 2022-01-18
  • 2022-01-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-03
  • 2021-10-06
  • 2022-02-24
  • 2021-07-10
相关资源
相似解决方案