.bail on | off Stop after hitting an error. Default OFF
.binary on | off Turn on or off binary output. Default OFF
.clone newdb Into Clone data from the existing database newdb
.databases List names and files of attached databases
.dbinfo? DB? Show status information about the database
.dump? TABLE? ... Dump the database in an SQL text format
If TABLE rõ, only matching tables dump
TABLE LIKE pattern.
.echo On | off Turn command echo on or off
.eqp on | off Enable or disable automatic EXPLAIN PLAN QUERY
Exit this .exit program
.explain? on | off? Turn output mode suitable for EXPLAIN on or off.
With no args, it turns EXPLAIN on.
.fullschema Show schema and the content of sqlite_stat tables
.headers on | off Turn on or off the display of headers
.help Show this message
FILE TABLE .import Import data from FILE INTO TABLE
.indexes? TABLE? Show names of all indexes
If TABLE rõ, indexes for tables show only
matching TABLE LIKE pattern.
.limit? LIMIT? ? VAL? Display or change the value of an SQLITE_LIMIT
.load FILE? ENTRY? Load an extension library
.log FILE | off Turn logging on or off. FILE can be stderr / stdout
.mode MODE? TABLE? Set output mode where MODE is one of:
ascii Columns / rows delimited by 0x1F and 0x1E
csv Comma-separated values
column Left-aligned columns. (See .width)
html HTML code
insert SQL insert statements for TABLE
line One value per line
list Values .separator strings delimited by
tabs, tab-separated values
tcl TCL list elements
.nullvalue STRING STRING Use in place of NULL values
Output for .once FILENAME the next SQL command only to FILENAME
.open? FILENAME? Close and reopen existing database FILENAME
.output? FILENAME? Send output to FILENAME or stdout
.print Print literal STRING STRING ...
MAIN CONTINUE Replace the standard .prompt prompts
.quit Exit this program
Execute SQL in FILENAME FILENAME .read
.restore? DB? FILE Restore content of DB (default "main") from FILE
FILE .save in-memory database Write Into FILE
.scanstats on | off Turn sqlite3_stmt_scanstatus () metrics on or off
.schema? TABLE? Show the statements CREATE
TABLE If rõ, matching tables only show
TABLE LIKE pattern.
.separator COL? ROW? Change the column separator and tùy the row
separator for the output mode and .import cả
.shell CMD ARGS ... Run CMD ARGS ... in a system shell
.show Show the current values for various settings
.stats on | off Turn stats on or off
.system CMD ARGS ... Run CMD ARGS ... in a system shell
.tables? TABLE? List names of tables
TABLE If rõ, only list matching tables
TABLE LIKE pattern.
.timeout Try opening MS locked tables for MS milliseconds
.timer on | off Turn on or off timer SQL
.trace FILE | off Output SQL statement as it is each tremor
.vfsname? AUX? Print the name of the VFS stack
.width NUM1 Widths NUM2 ... Set column for "column" mode
right-justify Negative values
đang được dịch, vui lòng đợi..