Wednesday, November 18, 2009

How to get ONLY column names of a table in MySQL?

Here is the query

select column_name from information_schema.columns where table_name='tablenamehere';

No comments: