Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

MySql get fields of table

SELECT COLUMN_NAME
  FROM INFORMATION_SCHEMA.COLUMNS
  WHERE TABLE_SCHEMA = 'my_database' AND TABLE_NAME = 'my_table';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #MySql #fields #table
ADD COMMENT
Topic
Name
7+9 =