Lawrence D'Oliveiro wrote: > In message <[email protected]>, Dennis > Lee Bieber wrote: > >> Notice that db.literal() call? That's part of the mechanism used to >> escape and quote parameters -- it only returns strings that are safe for >> insertion into the SQL statement. > > Does it deal with "like"-wildcards?
Why shouldn't it?
cursor.execute("select * from table where column like %s", "%name%")
Diez
--
http://mail.python.org/mailman/listinfo/python-list
