in definition of .execute(operation[,parameters]) ..... A reference to the operation will be retained by the cursor. If the same operation object is passed in again, then the cursor can optimize its behavior.
What meens "the same operation object is passed in again"? There's no definition for Class Operation. May by it meens SameOperation = "something that just a constant!" C = cnxn.cursor() C.execute("select * from table where a=? and b=?",(1,2)) C.fetchall() C.execute(SameOperation,(3,4)) C.fetchall() or not?
_______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig