diagnose.tbl_dbi function

Diagnose data quality of variables in the DBMS