Re: Replace Null
From: Alec MacLean (alec.maclean_at_NO-SPAM-copeohs.com)
Date: 10/06/04
- Next message: Mal .mullerjannie_at_hotmail.com>: "RE: Dynamic column specification in table update"
- Previous message: Mal .mullerjannie_at_hotmail.com>: "RE: Dynamic column specification in table update"
- In reply to: Manny Chohan: "Replace Null"
- Next in thread: Zach Wells: "Re: Replace Null"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 15:50:41 +0100
Try something along these lines:
SELECT Value1, value2, ISNULL(Value3, "-") FROM <source_table>...
In this example, the ISNULL function will replace any instance of a NULL in
column "Value3" with "-".
Al
"Manny Chohan" <MannyChohan@discussions.microsoft.com> wrote in message
news:8FCA7EB5-5F75-46F2-944A-AD91D5F884C6@microsoft.com...
> How can i replace Null with a blank field in the select query?
>
> Manny
- Next message: Mal .mullerjannie_at_hotmail.com>: "RE: Dynamic column specification in table update"
- Previous message: Mal .mullerjannie_at_hotmail.com>: "RE: Dynamic column specification in table update"
- In reply to: Manny Chohan: "Replace Null"
- Next in thread: Zach Wells: "Re: Replace Null"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|