Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2006-04-05 : 04:07:20
|
| my sql is select participantid,[Status] from participants where status not like 'A'why would this sql above not return in it's results those with a status of null or blank?? |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-04-05 : 04:15:21
|
| As null values cant be compared with other values, you need to useselect participantid,[Status] from participants where (status not like 'A' or status is null)MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|