Get Column Name from table in SQL Server


Below is the Code snippet to get the Column name:

select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME = 't_Customer'

Comments

Technology