On Thu, Dec 18, 2008 at 11:31 AM, <[email protected]> wrote:

> From: "Sidharth Kuruvila" <[email protected]>
>
> Do this instead
>
> cur.execute('select * from Employee where id in (%s)', ids.join(', '));
>
>
I would need to co-erce my id into a string rep to do this.  I guess that's
ok?
Also, will the escaping be taken care of if the type of id was a string?

thanks,
Vijay
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to