"Dominick Vansevenant" <[EMAIL PROTECTED]> wrote:
> Maybe a bit offtopic, but is there an equivalent for the NVL function in
> Oracle for MySQL?
>
> NVL is a function that returns a given result when a value is null

You do know there's a MySQL list, don't you?  There's no such beast in
MySQL, but you can do this:

IF( my_field IS NULL, your_expression, my_field)

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to