a question about mysqldb

Eric Wertman ewertman at gmail.com
Thu Aug 14 14:13:15 EDT 2008


I also like to use escaped identifiers in cases like this:

sql = "select tID,tNote from %s where %s = %%s" % ("tmp","tID")
cursor.execute(sql,1)

should work fine.



More information about the Python-list mailing list