There is a table in SQL server database with a varchar type column named "disposed_off" with allow null permission.
At present there are only ten records in this table. in all these records the value of this column is <NULL>
But the following query is not showing any records.
rs.Open "select * from ccomplaints where ccomplaints.disposed_off='" & NULL & "' or ccomplaints.disposed_off='""' order by c_no,lodge_dt", con, adOpenDynamic, adLockOptimistic
Can someone tell me what is the problem.
Thanks.
At present there are only ten records in this table. in all these records the value of this column is <NULL>
But the following query is not showing any records.
rs.Open "select * from ccomplaints where ccomplaints.disposed_off='" & NULL & "' or ccomplaints.disposed_off='""' order by c_no,lodge_dt", con, adOpenDynamic, adLockOptimistic
Can someone tell me what is the problem.
Thanks.