Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mariadb get column names from table

SELECT `COLUMN_NAME` 
FROM `INFORMATION_SCHEMA`.`COLUMNS` 
WHERE `TABLE_NAME`='yourtablename';
 
PREVIOUS NEXT
Tagged: #mariadb #column #names #table
ADD COMMENT
Topic
Name
4+4 =