次の例のように、PL/SQL 開発者で SQL スクリプトを実行したいと思います。
variable vTest varchar2;
(exec/set) :vTest := 'ABC'
select :vTest from dual;
select :vTest ||'XYZ' from dual ;
select * from table where columnname = :vTest;
次の例のように、PL/SQL 開発者で SQL スクリプトを実行したいと思います。
variable vTest varchar2;
(exec/set) :vTest := 'ABC'
select :vTest from dual;
select :vTest ||'XYZ' from dual ;
select * from table where columnname = :vTest;