DDF-527  added checks for valid table and column names