fix funtion nv_insert_logs for oracle database