select * from the_table where isnull(b,1)=0
提示说int与text不兼容
我按照下面的写法:
select * from theable where b is not null
提取的又是所有记录,郁闷啊~
这到底是怎么回事呢?我应该怎么写呢? 请高手帮忙了。问题解决立马发分。
...全文
11310打赏收藏
救命啊,我改怎么写。
数据库中的一个字段b是TEXT类型的,我象通过查询语句将b中内容不为空的记录 显示我这样写: select * from the_table where isnull(b,1)=0 提示说int与text不兼容 我按照下面的写法: select * from theable where b is not null 提取的又是所有记录,郁闷啊~ 这到底是怎么回事呢?我应该怎么写呢? 请高手帮忙了。问题解决立马发分。