Search notes:
ORA-01006: bind variable does not exist
The following anonymous PL/SQL block throws ORA-01006: bind variable does not exist:
declare
cnt pls_integer;
begin
execute immediate 'select count(*) from dual' into cnt using 'foo';
dbms_output.put_line(cnt);
end;
/