odbc command wrapper for use with pyodbc