how to get column details of a table in sql code example
Example 1: sql server find columns list in tables
SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = N'DIM_VENDING_MATERIALS'
Example 2: How to View column names of a table in SQL
DESCRIBE Table_Name;
OR
DESC Table_Name;