CodeGuy CodeGuy - 25 days ago 5x
iOS Question

SQLite3 terminal

How can I figure out the column names of a table using sqlite3 from the terminal on a mac? I forgot what I named the columns and I can't figure out how what the names were. Thanks!



.schema {tablename}

in the SQLite console will print out the CREATE statement.