Extract table ids inspection code