Hi - I've got SQL that looks like this ...
cursor =
self.MySQLDb_co nn.cursor(curso rclass=MySQLdb. cursors.DictCur sor)
sqlQuery = "SELECT * FROM T1 WHERE C1 = %s and C2 = %s"
sql = cursor.execute( sqlQuery,(strUR LAlias,strSessi onID))
rows = cursor.fetchall ()
cursor.close
.... i would be interested in seeing what the actual SQL used by the
..execute looks like after the replacements have been done. Is there a
way of doing this ?
thanks
richard.
cursor =
self.MySQLDb_co nn.cursor(curso rclass=MySQLdb. cursors.DictCur sor)
sqlQuery = "SELECT * FROM T1 WHERE C1 = %s and C2 = %s"
sql = cursor.execute( sqlQuery,(strUR LAlias,strSessi onID))
rows = cursor.fetchall ()
cursor.close
.... i would be interested in seeing what the actual SQL used by the
..execute looks like after the replacements have been done. Is there a
way of doing this ?
thanks
richard.
Comment