Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SQLite 有 mysql show tables; desc table; 类似的语句吗?

6 views
Skip to first unread message

披着羊皮的老狼

unread,
Mar 6, 2009, 1:50:58 AM3/6/09
to
rt

--
人这一辈子真的很难说
不要抱有任何幻想
一定要为自己打算


[m [1;32m※ 来源:·水木社区 newsmth.net·[FROM: 59.108.23.*] [m

没有“昵”称

unread,
Mar 6, 2009, 1:58:25 AM3/6/09
to
有啊。

.tables
.schema

D:\>sqlite
SQLite version 3.3.6
Enter ".help" for instructions
sqlite> .help
.databases List names and files of attached databases
.dump ?TABLE? ... Dump the database in an SQL text format
.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.
.header(s) ON|OFF Turn display of headers on or off
.help Show this message
.import FILE TABLE Import data from FILE into TABLE
.indices TABLE Show names of all indices on TABLE
.mode MODE ?TABLE? Set output mode where MODE is one of:
csv Comma-separated values
column Left-aligned columns. (See .width)
html HTML <table> code
insert SQL insert statements for TABLE
line One value per line
list Values delimited by .separator string
tabs Tab-separated values
tcl TCL 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
.schema ?TABLE? Show the CREATE statements
.separator STRING Change separator used by output mode and .import
.show Show the current values for various settings
.tables ?PATTERN? List names of tables matching a LIKE pattern
.timeout MS Try opening locked tables for MS milliseconds
.width NUM NUM ... Set column widths for "column" mode
sqlite>
【 在 chenkw (披着羊皮的老狼) 的大作中提到: 】
: rt


--

[m [1;33m※ 来源:·水木社区 newsmth.net·[FROM: 61.135.207.*] [m

中年不努力,老大徒伤悲

unread,
Mar 6, 2009, 2:05:59 AM3/6/09
to
你这个帖子沾边了,出现了perl字样,前面的可没有,不算
【 在 chenkw (披着羊皮的老狼) 的大作中提到: 】
: 我用 perl 访问 SQLite,还是沾点边的。。


--
lisp, haskell, erlang, OCaml 一个都不能少


[m [1;32m※ 来源:·水木社区 newsmth.net·[FROM: 119.181.62.8] [m

披着羊皮的老狼

unread,
Mar 6, 2009, 2:04:46 AM3/6/09
to
我用 perl 访问 SQLite,还是沾点边的。。
【 在 chylli (中年不努力,老大徒伤悲) 的大作中提到: 】
: 问错地方了,一会我就要行驶版主权力了,嘿嘿


--
人这一辈子真的很难说
不要抱有任何幻想
一定要为自己打算


[m [1;32m※ 来源:·水木社区 newsmth.net·[FROM: 59.108.23.*] [m

中年不努力,老大徒伤悲

unread,
Mar 6, 2009, 2:03:39 AM3/6/09
to
问错地方了,一会我就要行驶版主权力了,嘿嘿

【 在 chenkw (披着羊皮的老狼) 的大作中提到: 】
: rt


--
[42m [31m好 [m [43m [32m天 [m
[44m [33m好 [m [45m [46m天 [m
[46m [35m学 [m [47m [36m向 [m
[40m [37m习 [m [41m [30m上 [m


[m [1;32m※ 来源:·水木社区 newsmth.net·[FROM: 119.181.62.8] [m

0 new messages