易截截图软件、单文件、免安装、纯绿色、仅160KB

【如何查看Sqlite数据库中有多少张表[顶者有分]

SqlServer中这样统计:

select name from sysobjects where xtype='U'
要知道总数的话就简单了:
select count(*) from sysobjects where xtype='U'

Oracle中这样查询:
Select * from user_tables;

========================以上两个都无法使用。。================
select count(*) from sqlite_master  where type='table'

SQL code:
select count(*) from sysobjects where xtype='U'
/*
-----------
15

(所影响的行数为 1 行)
*/



SQL code:
select name
from sqlite_master
where type='table';



相关问答:

delphi怎样连接Sqlite 增删改查

delphi连接Sqlite 增删改查例子
数据库已经连通了, 插入会报错,no query specified
with dm.ASQLite3Query1 do
  begin
    dm.ASQLite3Query1.Close;
    dm.ASQLite3 ......

fleaphp中sqlite怎么用

由于成本考虑用sqlite做数据库,可是在调用create方法时出错,好像是不能得到自增的ID怎么改啊
用mysql有什么成本?


用mysql不得买数据库啊。。。
都是一些小网站

id INTEGER NOT NULL PRIMARY KEY
......

c#连接Sqlite数据库问题

我用sqliteadmin建了一个数据库test.sdb,可是怎么也打不开提示如下错误:File opened that is not a database file
file is encrypted or is not a database。

我的连接字符串如下楼上的可不可以帮我看看
S ......

用过sqlite的朋友看下

最简单的问题。也有点郁闷。
我想创建一个数据库
我现在只有一个sqlite3.exe文件。
我使用的方法是双击这个文件
使用的命令为:
sqlite3 f:\a.db 回车
可是结果却显示为
  ...>
sqli ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号