db_exec function

Execute a statement for the default connection