Sqlite: adding comments to tables and columns?

前端 未结 3 1090
醉酒成梦
醉酒成梦 2021-02-05 01:38

In MySQL Workbench you can add comments to tables and columns in a MySQL database.

Does Sqlite support adding comments to tables and columns?

3条回答
  •  醉梦人生
    2021-02-05 02:13

    (This isn't what the original poster was asking, but this is what I was looking for when I first found this question based on the keywords in the title.)

    How to make comments in SQLite

    There are two ways to make comments in SQLite code:

    Hyphens

    -- this is my comment
    SELECT * FROM employees;
    

    C-style

    /* this is my comment */ 
    SELECT * FROM employees;
    

提交回复
热议问题