triying to support table data exclusion for every database, take 2