易截截图软件、单文件、免安装、纯绿色、仅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';



相关问答:

使用飞信虚拟.net环境,在使用SQLite时为什么报错呢

C# code:

System.Data.SQLite.SQLiteConnection conn = new SQLiteConnection(@"acs.db");
try
{
conn.Open();
}
......

delphi怎样连接Sqlite 增删改查

求delphi怎样连接Sqlite 增删改查例子
用ASqlite3Query,设置他的connection为ASqlite3DB
ASqlite3Query.Sql.text := 'insert into ....';
ASqlite3Query.Execsql;

sqlstr:='insert into stude ......

sqlite移植问题

我现在手头有这么一个问题,我想让一个操作sqlite3的程序在一个ARM板子上跑起来,板子上的os是wince5.0。
我是这么做的,我先从sqlite3主页下载源码下来,有这么3个文件:sqlite3.c、sqlite3.h、sqlite3ext.h , ......

c#连接Sqlite数据库问题

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

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

sqlite在vs2005中的使用报错

在vs2005中引用了using System.Data.SQLite;
定义了一个连数据库连接变量public SQLiteConnection dBConn;
就报下面这个错误了.
The type 'System.Data.Common.DbConnection' is defined in an ass ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号