Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get only the field names in a table

SELECT column_name
FROM information_schema.columns
WHERE  table_name = 'your_table'
   AND table_schema = 'database_name'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #field #names #table
ADD COMMENT
Topic
Name
4+2 =