Another quick tip.Selecting from INFORMATION_SCHEMA.COLUMNS unfortunately returns also every column in views on top of tables. I never use views and definitely don’t need those columns.
Another quick solution for users of MSSQL Server.