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 |
|
JimAmigo
Posting Yak Master
119 Posts |
Posted - 2004-07-15 : 14:18:36
|
| Another transition question. I want my query to return data where a field is null.I found some information to pull the field when its null but not how to use in in a WHERE statement.Here is my WHERE StatementWHERE ((ISNULL(tbl_Assignments.EndDate)) AND ((tbl_Officer.Status)='Active'))It keeps erroring out.. I want it to retrive the WHERE the field tbl_Assignments.EndDate is null.Hopefully that makes sense and any help is much appreciated. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-07-15 : 14:19:30
|
| WHERE tbl_Assignments.EndDate IS NULL AND tbl_Officer.Status = 'Active'Tara |
 |
|
|
drymchaser
Aged Yak Warrior
552 Posts |
Posted - 2004-07-15 : 14:20:34
|
WHERE tbl_Assignments.EndDate IS NULLAND tbl_Officer.Status = 'Active'ISNULL() is a function that returns a value. select ISNULL(null, 'value') again by the Warrior Princess. |
 |
|
|
|
|
|