> (B) is better than (A). The parameter binding employed in (B) > is not only faster on many databases, but more secure. See, for example,http://informixdb.blogspot.com/2007/07/filling-in- blanks.html
Thx. The link was helpful, and I think I have read similar things before-- that B is faster. So ... I just rewrote the test code from scratch and B is faster. I must have had something wrong in my original timing. -- http://mail.python.org/mailman/listinfo/python-list