On Apr 11, 3:03 pm, Mike H <cmh.pyt...@gmail.com> wrote: > Can I not use the cursor.execute command to pass variables that aren't > immediately next to each other? If so, is there a better way to go > about solving this problem?
Yes, there is. Use one of the several production quality python SQL toolkits built for exactly this purpose instead of putting together an ad-hoc, informally-specified bug-ridden slow implementation of half of their feature set. George -- http://mail.python.org/mailman/listinfo/python-list