Re: Select statement with a NULL
- From: "Bruce A. Julseth" <bruceaj_nospam_@xxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 17:44:54 -0400
"Bruce A. Julseth" <bruceaj_nospam_@xxxxxxxxxxxxx> wrote in message
news:f13364$b8f$1@xxxxxxxxxxx
I have forgotten how to do this (At least I think I knew how)
I have SELECT CONCAT(A, ' ', B) as C ........
If A or B is NULL this select fails. What do I need to do so it won't
fail...
Thanks...
Never Mind. I found it on the internet...
SELECT CONCAT_WS('', A, ' ', B) as C .....
Thanks....
.
- Follow-Ups:
- Re: Select statement with a NULL
- From: Toby A Inkster
- Re: Select statement with a NULL
- References:
- Select statement with a NULL
- From: Bruce A. Julseth
- Select statement with a NULL
- Prev by Date: Re: One Global Connection vs. Open-Close
- Next by Date: Re: PHP and PEAR and MySQL Setup on Apache
- Previous by thread: Select statement with a NULL
- Next by thread: Re: Select statement with a NULL
- Index(es):