[DB-SIG] reg Prepared Statment Error

python eager python_eager at yahoo.com
Mon Feb 13 07:53:31 CET 2006


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/db-sig/attachments/20060212/40ac37b8/attachment.html 


More information about the DB-SIG mailing list