Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 2nd, 2003, 05:54 AM
Authorized User
 
Join Date: Jun 2003
Location: Madrid, Madrid, Spain.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default ORA-01006

Hello to all.
I am making an application to load the registries of a data base in DB2 to one of Oracle.
I obtain INSERT or UPDATE to execute and use the CallableStatement class to execute it.
It gives the error me in Java; but with SQL EXTRA or Pilot Database no.

ORA-01006 bind variable does not exist

Why it can be?
 
Old September 20th, 2003, 05:45 PM
Registered User
 
Join Date: Sep 2003
Location: Abu Dhabi, Abu Dhabi, United Arab Emirates.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to yasir_lahham
Default

Cause of the error: A program issued a BIND call for a variable not listed in the associated SQL statement. Only those variables prefixed by either a colon (:) or ampersand (&) in the SQL statement may be referenced in a BIND call, OBIND or OBINDN.
This error may also be caused by a mismatch between a Precompiler program and the related library, SQLLIB.
Modify the BIND call to reference one of the substitute variables specified in the associated SQL statement.

MHD Yasir Al-lahham




Similar Threads
Thread Thread Starter Forum Replies Last Post
DBLink ORA-12154 nkrust Oracle 2 May 20th, 2007 11:54 PM
ORA-14100 auxiora_nemesis Oracle 0 April 6th, 2007 04:25 AM
ORA-0134 db009 Oracle 0 February 23rd, 2007 06:04 AM
[Oracle][ODBC][Ora][ORA-01013 Corey Access 1 December 15th, 2006 10:29 AM
Ora-01034 error jfrank7992@aol.com Oracle 5 September 30th, 2004 08:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.