Add a line above your SQL as the fitst line of your SQL as sbown below. You can name the page anything meaningful. This page will be viewed in the Clipboard that will have both pre and post SQL it executed.
How about preceding your rdb-save with an rdb-query (or executeRDB api call) that does a "select count(*) . . .", using the SAME "where" clause on the "select count(*)" that you use on the subsequent rdb-save ? /Eric