Oracle變量定義和使用(sqlplus和sql developer使用變量的區別)

變量定義和使用sql sqlplus中能夠這麼用: (注意這個變量只要在當前鏈接有效) var myvar number; --這種語法在developer上直接報錯了。 exec :myvar:=100; select * from employees where employee_id=:myvar developer這麼用: set serveroutput on; --確保能夠打印
相關文章
相關標籤/搜索