MySQL Forums
Forum List  »  Stored Procedures

Re: Null claus in IF statement
Posted by: Per-Erik Martin
Date: December 09, 2005 09:20AM

if a1 != b1 or a2 != b2 then
if a1 = b1 then ...
elseif a2 = b2 then ...
else ...
end if;
end if;


or


if ... then
begin end;
elseif ...
elseif ...
else ...
end if;

pem, Senior Software Dev., MySQL AB

Options: ReplyQuote


Subject
Views
Written By
Posted
2115
December 09, 2005 09:08AM
Re: Null claus in IF statement
1434
December 09, 2005 09:20AM
1411
December 09, 2005 09:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.