绑定变量不只能在where 子句中使用[@more@]
今天在论坛上看到,故保存下来,哈哈,又涨了一下见识
绑定变量不只能在where 子句中使用
That's not quite correct. See this:
SQL> var n number
SQL> exec :n := 123
PL/SQL procedure successfully completed.
SQL> select :n from dual;
:N
------------
123
But overall, your summary is good.
Yong Huang
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/536047/viewspace-1048931/
,如需转载,请注明出处,否则将追究法律责任。