DCOracle Large Objects

Oleg Broytmann phd at phd.russ.ru
Tue Jan 18 10:48:26 EST 2000


Hello!

   Anyone can help with Oracle LOBs and stored procs?
   I want to create a LOB in a database. DB programmer created a stored
procedure for me, but when I call it, passing data as Python string:

   cursor.execute("add_image", [1028, "This is the body of my Large Object"])

I got the error "invalid SQL". How do I pass the body of LOB to stored proc?

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list