Index
2004-07-13 06:57Timothy Grahl : [NF] Checking for NULL with Transact SQL
2004-07-13 13:04Timothy Grahl : RE: [NF] Checking for NULL with Transact SQL
2004-07-13 13:04Derek J. Kalweit : RE: [NF] Checking for NULL with Transact SQL
2004-07-13 13:05Timothy Grahl : RE: [NF] Checking for NULL with Transact SQL
2004-07-13 13:12John Baird : RE: [NF] Checking for NULL with Transact SQL
Back to top
[NF] Checking for NULL with Transact SQL

Author: Timothy Grahl

Posted: 2004-07-13 06:57:35   Link

I am using SQL Server 2000 and need to check for NULL. i.e. SELECT *

FROM tablename WHERE column = NULL

How is this accomplished? Thanks.

Tim Grahl

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2004 Timothy Grahl
Back to top
RE: [NF] Checking for NULL with Transact SQL

Author: Timothy Grahl

Posted: 2004-07-13 13:04:00   Link

Yeah I sent this at like 8:00AM EST this morning. I figured it out

after all :P

Tim Grahl

-----Original Message-----

From: Timothy Grahl

Sent: Tuesday, July 13, 2004 7:58 AM

To: ProFox Email List

Subject: [NF] Checking for NULL with Transact SQL

I am using SQL Server 2000 and need to check for NULL. i.e. SELECT *

FROM tablename WHERE column = NULL

How is this accomplished? Thanks.

Tim Grahl

--- StripMime Report -- processed MIME parts --- multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

©2004 Timothy Grahl
Back to top
RE: [NF] Checking for NULL with Transact SQL

Author: Derek J. Kalweit

Posted: 2004-07-13 13:04:09   Link

> I am using SQL Server 2000 and need to check for NULL. i.e. SELECT *

> FROM tablename WHERE column = NULL

>

> How is this accomplished? Thanks.

SELECT * FROM tablename WHERE column IS NULL;

--

Derek

©2004 Derek J. Kalweit
Back to top
RE: [NF] Checking for NULL with Transact SQL

Author: Timothy Grahl

Posted: 2004-07-13 13:05:50   Link

Thanks though.

Tim Grahl

-----Original Message-----

From: Derek J. Kalweit [mailto:dkalweit@sensiblesoftware.com]

Sent: Tuesday, July 13, 2004 2:04 PM

To: ProFox Email List

Subject: RE: [NF] Checking for NULL with Transact SQL

> I am using SQL Server 2000 and need to check for NULL. i.e. SELECT *

> FROM tablename WHERE column = NULL

>

> How is this accomplished? Thanks.

SELECT * FROM tablename WHERE column IS NULL;

--

Derek

[excessive quoting removed by server]

©2004 Timothy Grahl
Back to top
RE: [NF] Checking for NULL with Transact SQL

Author: John Baird

Posted: 2004-07-13 13:12:18   Link

SELECT * FROM tablename WHERE column IS/IS NOT NULL

OR

SELECT *, ISNULL(column, 'NEW VALUE') as newvalue

FROM tablename WHERE column = value

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Timothy Grahl

Sent: Tuesday, July 13, 2004 7:58 AM

To: ProFox Email List

Subject: [NF] Checking for NULL with Transact SQL

I am using SQL Server 2000 and need to check for NULL. i.e. SELECT *

FROM tablename WHERE column = NULL

How is this accomplished? Thanks.

Tim Grahl

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

©2004 John Baird