EXECuting the following (in either the Script component or a normal Query component):
CREATE OR REPLACE PROCEDURE dead_code
IS
x number := 10;
begin
if x = 10 then
x := 20;
else
x := 100;
end if;
select empno
into

from emp;
END dead_code;
Causes the error:
ORA-01003: no statement parsed
Strangely enough, I can run this "just fine" from within TOAD and it lists the error:
PLS-00049: bad bind variable 'X'
afterwards (which makes sense).
I want to achieve the same thing - but how can I run this statement?
(ParamCheck = False)
With regards,
Martijn Tonies
Upscene Productions