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

ACCESS读取不为空的字段 - MS-SQL Server / 疑难问题

如题.怎么读取数据库中字段不为空的信息?

我想读取数据库中图片一栏不为空的记录


SQL="select * from info where img not isnull"


没有报错.但是它把所有的都读出来了.没有图片的也读出来了..
SQL code:
select * from info where img is not isnull


SQL code:
select * from info where img is not null


SQL code:
SQL="select * from info where img is not isnull"


SQL code:
--access不知道行不試下
SQL="select * from info where isnull(img,'')<>''"


SQL code:
select * from info where img is not null


SQL code:
SQL="select * from info where img is not null"
不好意思,以为楼主差个IS

select * from info where img is not null

select * from info wher


相关问答:

sql小小的疑问 - .NET技术 / C#

可能因为工作的原因 接触数据库这块比较少,之前都是做程序这块,数据库这块都有专门的人来做 分工都很明细 所以对数据库这一块完全不了解。前段时间 去面试了几家公司 几乎都是在数据库这块挂掉的 连个简单的SQ ......

VC连接ACCESS数据库问题 - VC/MFC / 数据库

问题1
我用ADO连接设了用户名密码的数据库
但是我发现我不输入 用户名和密码 都可以连接成功 而且还能把数据读出来
剪了一个名为test数据库 建了一个名为people的表 
见了一个 用户名1234 密码1234 的 ......

求一SQL - MS-SQL Server / 基础类

tab1 字段:billdate,goodsid,incount,inmoney,outcount,outmoney,endprice,endcount,endamt
tab2 字段:goodsid,goodskind(商品类型)
tab3 字段:goodskind(商品类型),kindname
结果:
得到商品类型在一段时间 ......

请教SQL语句查询问题? - MS-SQL Server / 基础类

我想查询出每天数据的最大的一个值。表的格式如下
表名: hisdata
字段 编号 值 状态 时间  
  Id value state dattime  
  101 32.3 0 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号