Oracle变量定义和使用(sqlplus和sql developer使用变量的区别)

变量定义和使用sql sqlplus中能够这么用: (注意这个变量只要在当前链接有效) var myvar number; --这种语法在developer上直接报错了。 exec :myvar:=100; select * from employees where employee_id=:myvar developer这么用: set serveroutput on; --确保能够打印
相关文章
相关标签/搜索