Home » SQL & PL/SQL » SQL & PL/SQL » what is the cause of bad bind variable error here?
what is the cause of bad bind variable error here? [message #235939] Tue, 08 May 2007 08:22 Go to next message
Messages: 5
Registered: May 2007
Junior Member
I have to schedule a job to execute daily. In my init.ora file only job_queue_processes pararmeter is set.job_queue_interval parameter is not there in my init.ora.
did anyone know how to include an initialization parameter in init.ora?
I'm working as a client using oracle 10g express edition.i executed the following code(even though job_queue_interval is not there).
create or replace procedure "JOBING"
jobno integer;
dbms_jobs.submit(:jobno,'begin forselect;end;',SYSDATE,'SYSDATE+1');
following error ocurred
PLS-00049: bad bind variable 'JOBNO'

Is initialization parameter missing causes the error?or is there any other cause?plz reply
Re: what is the cause of bad bind variable error here? [message #235945 is a reply to message #235939] Tue, 08 May 2007 08:39 Go to previous message
Michel Cadot
Messages: 63911
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
1/ job_queue_interval no more exists in 10g
2/ remove ":" in front of jobno. You don't use an external bind variable, you use the variable declared in your procedure.

Previous Topic: Materialized view refresh
Next Topic: Field name in table
Goto Forum:

Current Time: Sat Oct 22 07:30:54 CDT 2016

Total time taken to generate the page: 0.04507 seconds