Sqlite数据库的命令测试
首先通过命令来对数据库进行测试,以验证Sqlite是否运行正常。

?        /bld>./sqlite test.sqlite

?        sqlite> create table my(name varchar(80), num smallint);

?        sqlite> insert into my values('zhao', 100);

?        sqlite> insert into my values('ArmLinux', 99);

?        sqlite> select * from my;

zhao|100

ArmLinux|99

?        sqlite> .tables

my

?        sqlite> .schema

create table my(name varchar(80), num smallint);

?        sqlite> .q

?        /bld>ls –l test.sqlite