当前位置:Gxlcms > 数据库问题 > sqlite 对表的操作

sqlite 对表的操作

时间:2021-07-01 10:21:17 帮助过:4人阅读

查询某个表的创建语法

select sql from sqlite_master where tbl_name="your_table_name" and type=‘table‘;

 

查询某个表的字段信息

PRAGMA table_info(your_table_name)

 

给表新增一列

alter table your_table_name add your_colum_name TEXT

sqlite 对表的操作

标签:

人气教程排行