Hi,
i am using prepared statment.While passing the value i am getting the following error
DatabaseError: ORA-01036: illegal variable name/number
Code Snippet :
a=cursor.prepare("DELETE FROM PERSONALDETAILS WHERE PID =?")
cursor.execute(a,(id))
Please rectify the error
regards
Python Eager
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
_______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig