Answers for "get all columns of table"

SQL
-1

get all columns from table sql

/* To retreive the column names of table using sql */

SELECT COLUMN_NAME.
FROM INFORMATION_SCHEMA. COLUMNS.
WHERE TABLE_NAME = 'Your Table Name'
Posted by: Guest on May-24-2020
0

read all columns of a table sql

/* To retreive the column names of table using COLUMN_NAME */
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'table_name_here'
Posted by: Guest on September-26-2021

Code answers related to "get all columns of table"

Code answers related to "SQL"

Browse Popular Code Answers by Language