MySQL Forums
Forum List  »  Stored Procedures

multiple if conditions doesn't work
Posted by: ralf dobrick
Date: June 21, 2005 03:02AM

if i use a if-statement with multiple conditions the stored procedure fails.

example:
if (field1 = 0) and (field2 = 0) then
...
end if; --> fails

perhaps my syntax is wrong, but i didn't find any detailed information.
is there anybody who can give me a example?

thanks for any help.
best regards
ralf

Options: ReplyQuote


Subject
Views
Written By
Posted
multiple if conditions doesn't work
9936
June 21, 2005 03:02AM


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.