En Mon, 07 May 2007 14:08:21 -0300, krishnakant Mane  
<[EMAIL PROTECTED]> escribió:

> my table is called testobj and the blob field is called obj.
> now following is my query with the cursor named CSRInsert.
> CSRInsert.execute("insert into testobj (obj) values  
> (?);",(pickled_object))
> the error is,
> "type error, not all arguments formatted during string formatting ".
>
> can some one now figure out what could be the problem?

Try exactly as advised:
CSRInsert.execute("insert into testobj (obj) values  
(?);",(pickled_object,))

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to