db_sql_exec_and_wait function

Execute SQL Query and Wait for Completion