I have database in which data is imported from the other table. if data is empty there. so while importing to here it became null. When i query the columns like, name doesnot starts with ‘a’, it should return all records whose name doesn’t start with ‘a’. including NULL/empty column. its returning epty records but not null. But i need null feilds also. I useing hibernate and sqlserver 2005. how to achieve this.?please help.
Thanks
I have database in which data is imported from the other table. if data
Share
Null and Empty are different things.
When you say “Retrieve all the entries that do not start with
a” it means that it will retrieve all the entries with something that is nota.Nullis not something.Nullis nothing.Emptyis something.You should modify your query to add
OR IS NULL, to retrieve also the null fields.