I use the following code in Python (with pyodbc for an MS-Access base).
cursor.execute("select a from tbl where b=? and c=?", (x, y))
It's OK, however, I need to know the exact and entire SQL string that was sent to the database for maintenance reasons.
Is that true, and if so, how?