[UPHPU] discovered ISNULL() for default join values in MySQL

Sean Thayne sean at exit12.org
Mon Feb 22 17:01:26 MST 2010


You can also use a slick function called coalesce which most db  
engines support.


- Sean Thayne

On Feb 22, 2010, at 4:57 PM, Wade Preston Shearer <wadeshearer.lists at me.com 
 > wrote:

> I just discovered MySQL's ISNULL() and am using it to produce a  
> default value in a left join. I thought that I would share in case  
> it helps anyone else.
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net


More information about the UPHPU mailing list