Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Error python + cx_Oracle :Oracle-Error-Message: ORA-01036:illegal variable name/number

Reply
Thread Tools

Re: Error python + cx_Oracle :Oracle-Error-Message: ORA-01036:illegal variable name/number

 
 
Ian Kelly
Guest
Posts: n/a
 
      01-04-2011
On Tue, Jan 4, 2011 at 12:57 PM, Mauricio Martinez Garcia
<> wrote:
>
> Hi, i need help with the next error:
>
> "ERR_PYTHON:Oracle-Error-Message: ORA-01036: illegal variable name/number",
> i used the cx_Oracle module, and the error not is only Oracle Error.
>
> The error its for that python don't translate the query, with the variables
> ":VARIABLE" when the VARIABLE is a number, this is th ecause of Oracle
> error.


You can only specify bind parameters that are used in the query. The
dict you are passing in has 56 key/value pairs, but your query has
only 55 variables. "TELEFONO_ICC" does not appear to be used anywhere
in the query.

Cheers,
Ian
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cx_Oracle clause IN using a variable Beppe Python 3 10-17-2012 01:49 PM
Error python + cx_Oracle :Oracle-Error-Message: ORA-01036: illegalvariable name/number Mauricio Martinez Garcia Python 0 01-04-2011 07:57 PM
Error installing cx_Oracle AMC Python 1 09-23-2010 02:55 AM
mod_python load cx_Oracle error li wang Python 1 07-19-2010 06:08 PM
cx_Oracle entry point error lblr33@yahoo.com Python 1 02-09-2006 06:20 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57