Update exec_sql_wrapper.sql

Tweaks for issue 2.