您的位置:首页 > 数据库

Sqlite3 .help里面管理工具的所有用法

2014-08-25 16:09 316 查看
.backup ?DB? FILE Backup DB (default "main") to FILE
。备份?分贝?备份数据库(默认的“主”)的文件
.bail ON|OFF Stop after hitting an error. Default OFF
打一个错误。|下车后保释。默认关闭
.databases List names and files of attached databases
数据库名称。列表和附加的数据库文件
.dump ?TABLE? ... Dump the database in an SQL text format
。而倾倒呢?表?…在一个SQL文本格式转储数据库
If TABLE specified, only dump tables matching
如果指定的表,只转储表匹配
LIKE pattern TABLE.
像模式表。
.echo ON|OFF Turn command echo on or off
在关掉。|回声或回声
.exit Exit this program
退出该程序。
.explain ?ON|OFF? Turn output mode suitable for EXPLAIN on or off.
。解释?在|呢?打开或关闭输出模式适用于解释。
With no args, it turns EXPLAIN on.
有没有参数,结果解释。
.header(s) ON|OFF Turn display of headers on or off
。头(S)在|关闭或关闭标题将显示
.help Show this message
帮助显示此消息。
.import FILE TABLE Import data from FILE into TABLE
表中。导入文件导入数据从文件导入表
.indices ?TABLE? Show names of all indices
。指标?表?显示所有指标名称
If TABLE specified, only show indices for tables
如果指定的表,只显示指数表
matching LIKE pattern TABLE.
LIKE模式匹配表。
.load FILE ?ENTRY? Load an extension library
。加载文件?进入?加载扩展库
.log FILE|off Turn logging on or off. FILE can be stderr/stdout
日志文件了。|打开或关闭日志记录。文件可以stderr或stdout
.mode MODE ?TABLE? Set output mode where MODE is one of:
。模式?表?设置输出模式,模式就是其中的一个:
csv Comma-separated values
CSV逗号分隔值
column Left-aligned columns. (See .width)
左对齐的列的列。(见。宽度)
html HTML <table> code
HTML HTML代码表> <
insert SQL insert statements for TABLE
插入SQL表的INSERT语句
line One value per line
每线值
list Values delimited by .separator string
分隔分隔符字符串列表中的值。
tabs Tab-separated values
制表符tab分隔的值
tcl TCL list elements
TCL TCL列表元素
.nullvalue STRING Print STRING in place of NULL values
nullvalue打印字符串。字符串中的空值的地方
.output FILENAME Send output to FILENAME
输出文件发送输出到文件。
.output stdout Send output to the screen
。输出stdout输出发送到屏幕
.prompt MAIN CONTINUE Replace the standard prompts
。提示主要继续取代标准的提示
.quit Exit this program
退出退出此程序。
.read FILENAME Execute SQL in FILENAME
读文件执行SQL文件。
.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
宽度num1 num2…设置列宽的“柱”模式
.timer ON|OFF Turn the CPU timer measurement on or off
|。定时器关闭打开或关闭CPU定时器测量
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: