EA1 seems to have taken a backward step when it comes to supporting bind variables in PL/SQL.
Back in 1.1.3, according to the bugs fixed list, we apparently fixed bug 5884935 (BINDS IN A PL/SQL STATEMENT HAS "NOT ALL VARIABLES BOUND" ERROR), although this was only ever when running as scripts (as per
1850867
Now according to the 1.2 documentation, bind variables are not supported in the script runner (section 1.7.2) and the SQL*Plus variable command is not supported (section 1.7.1). However, I can run the following code "successfully" (no errors reported but the substitution text entered does not appear in the dbms_output):
variable bind_text varchar2(30);
declare
l_text varchar2(30);
begin
:bind_text := '&sub_text';
dbms_output.put_line('Bind text: "' || :bind_text || '"');
end;
/
Now in EA1, running this as a script results in "ORA-01006: bind variable does not exist"
Running the variable statement results in "ORA-00900: Invalid SQL Statement" and running the PL/SQL results in "ORA-1008: not all variables bound".
Can someone from the SQL Developer team please comment on the intended support for bind variables in PL/SQL?
Thanks,
theFurryOne