How to get a list of column names on Sqlite3 database?

PRAGMA table_info(table_name);

will get you a list of all the column names.

Leave a Comment