SQL server how to select column name having @ code example Example: get all columns from table sql SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES