设为首页 加入收藏

TOP

sqlite命令行工具简单操作(二)
2014-11-23 21:12:59 来源: 作者: 【 】 浏览:23
Tags:sqlite 命令 工具 简单 操作
list elements

.nullvalue STRING Print STRING in place of NULL values

.output FILENAME Send output to FILENAME

.output stdout Send output to the screen

.prompt MAIN CONTINUE Replace the standard prompts

.quit Exit this program

.read FILENAME Execute SQL in FILENAME

.restore DB FILE Restore content of DB (default "main") from FILE

.schema TABLE Show the CREATE statements

If TABLE specified, only show tables matching

LIKE pattern TABLE.

.separator STRING Change separator used by output mode and .import

.show Show the current values for various settings

.stats ON|OFF Turn stats on or off

.tables TABLE List names of tables

If TABLE specified, only list tables matching

LIKE pattern TABLE.

.timeout MS Try opening locked tables for MS milliseconds

.width NUM1 NUM2 ... Set column widths for "column" mode

.timer ON|OFF Turn the CPU timer measurement on or off

操作跟MySQL命令行工具很相似,具体的SQL语法规则可以参看http://www.sqlite.org/lang.html。

附:

SQLite官方网站:http://www.sqlite.org/

摘自 LiXianlin's Spaces

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇常见SQL Server导入导出数据的几.. 下一篇实例级的Tuning工具Statspack的几..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: