Solved

Oracle Error 1008

Posted on 1998-07-01
1
2,001 Views
Last Modified: 2008-02-01
When I run a PL/SQL script I get
ORA-01008 not all variables bound.
When I check all host variables using Print they have values.
What is causing the error.
Digital UNIX 4.0D
Oracle 7.3.4
Pl/SQL 2.3.4
SQL*Plus 3.3.4
0
Comment
Question by:rdoggart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
poncejua earned 100 total points
ID: 1083232
This error usually occurs when you reference a bind variable in other than a PL/SQL statement, such as a SQL statement, containing substitution variables that was executed without all variables bound.  All substitution variables must have a substituted value before the SQL statement is executed.  In OCI, use an OBIND or OBINDN call to substitute the required values.

Bind variable can only be referenced in PL/SQL. You cannot use it in SQL*Plus commands. Note that bind variable can be used in EXECUTE command which runs one PL/SQL
statement.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many‚Ķ
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question