testing if value is null
- From: laredotornado <laredotornado@xxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 08:12:35 -0700 (PDT)
Hi,
How do I write a query where if a column, "value," is NULL I return
the phrase "No value entered" but otherwise return the column's value,
even if it is the empty string? I'm tried to modify this simple query
SELECT value FROM meta_data
Thanks, - Dave
.
- Follow-Ups:
- Re: testing if value is null
- From: christopher.secord@xxxxxxxxx
- Re: testing if value is null
- From: Plamen Ratchev
- Re: testing if value is null
- Prev by Date: Re: Help Needed For writting a query (SQl Server 2005).
- Next by Date: Re: delete output into <xml column of audit table>
- Previous by thread: Re: Help Needed For writting a query (SQl Server 2005).
- Next by thread: Re: testing if value is null
- Index(es):
Relevant Pages
|