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 |
|
durilai
Starting Member
13 Posts |
Posted - 2006-06-13 : 19:41:07
|
| I have a interger field that can contain numbers from 1 - 7 and I want to exclude only the 7's. When I do something like this:...AND (field <> 7)... That returns 0 records, I think it is it is not a required field and there are 'NULL' in some of them. How can I exclude 7's liek that without doing an 'OR'. If it is possible. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-06-13 : 19:42:17
|
WHERE field BETWEEN 1 AND 6 Tara Kizeraka tduggan |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2006-06-13 : 20:06:25
|
| do you wantwhere (field<>7 or field is null)?? |
 |
|
|
|
|
|