MySQL Forums
Forum List  »  Stored Procedures

How to do this ?
Posted by: hello world
Date: November 23, 2005 12:11PM

create function testing(............)
BEGIN

IF (var=1) THEN
select f1 from t1;
select f2 from t2;
select f3 from t3;
ELSE .............;
END IF;

END;

Options: ReplyQuote


Subject
Views
Written By
Posted
How to do this ?
2125
November 23, 2005 12:11PM
1544
November 24, 2005 08:01PM
1535
November 25, 2005 11:23AM
1509
November 25, 2005 01:16PM
1442
November 27, 2005 07:52AM
1487
November 27, 2005 08:57AM


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.