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

sqlite的空值查询怎么写,能者得分

sqlite的空值查询怎么写,能者得分
select * from tt where f1 is null

select * from yourTable where col is null;

SQL code:
sqlite> create table Aoqun (id int primary key,col1 int);
sqlite> insert into Aoqun values (1,10);
sqlite> insert into Aoqun values (2,null);
sqlite>
sqlite> select * from Aoqun;
1|10
2|
sqlite> select * from Aoqun where col1 is null;
2|
sqlite>


is null


相关问答:

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

C# code:

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

sqlite数据库不能连续存入数据的问题

我用evc编写的程序,将对话框中的数据存入数据库,第一次可以存入,不过第二次输入的数据不能存入到数据库中。
下面是我的程序
UpdateData(TRUE); // TODO: Add your control notification handler code here ......

c#连接Sqlite数据库问题

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

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

SQlite的一个问题

如下语句 :
select TimeSpan from T_Table where onlineDate = '2009-12-2'
数据库里面有符合条件的值但是查不出来
如果改成如下:
select TimeSpan from T_Table where onlineDate = '200 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号