Zapytanie SQL, aby zwrócić nazwę pola tabeli

select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS 
where TABLE_NAME = 'tablename'
Code with bulbul