(VBAT-2: Import stage) logging more information to log_dtl table;
improved "missing WHERE clause" detection when re-writing sql statement