sql server all column atable code example
Example 1: How to View column names of a table in SQL
DESCRIBE Table_Name;
OR
DESC Table_Name;
Example 2: get all columns from table sql
SELECT
TABLE_NAME
FROM
INFORMATION_SCHEMA.TABLES
DESCRIBE Table_Name;
OR
DESC Table_Name;
SELECT
TABLE_NAME
FROM
INFORMATION_SCHEMA.TABLES