how to findout which columns have constriants in a table?