Obtenha todas as colunas da tabela SQL
SELECT
TABLE_NAME
FROM
INFORMATION_SCHEMA.TABLES
Yucky Yacare
SELECT
TABLE_NAME
FROM
INFORMATION_SCHEMA.TABLES
/* To retreive the column names of table using COLUMN_NAME */
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'table_name_here'
SELECT * FROM contacts;