/* How to select the column names in SQL*/ SELECT Column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'your_table_name' /* Just change the "your_table_name" ↑ to the name of your table */