How can I get the list of a columns in a table for a SQLite database?

后端 未结 8 1198
梦谈多话
梦谈多话 2020-11-28 23:04

I am looking to retrieve a list of columns in a table. The database is the latest release of SQLite (3.6, I believe). I am looking for code that does this with a SQL query

8条回答
  •  渐次进展
    2020-11-28 23:36

    Here's the simple way:

    .schema 

    提交回复
    热议问题