QuoteSQL

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Sep 25 03:03:36 EDT 2006


In message <slrnehd2vg.7nu.sybrenUSE at schuimige.stuvel.eu>, Sybren Stuvel
wrote:

> Lawrence D'Oliveiro enlightened us with:
>> Yes, I have done blobs. Still need a quoting function for the
>> specials, though.
> 
> Why? What makes your data so different from mine?

        "select * from details where person_name like"
        " concat(\"%%\", %s, \"%%\")" \
    % \
        QuoteSQL(name, True)



More information about the Python-list mailing list