OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Nested if statements in Stored Procedure

From: Daniel Dittmar (daniel.dittmarsap.com)
Date: Thu Mar 18 2004 - 17:15:02 CST


MaxDB - Mailing List wrote:
> I am trying like heck to create a stored procedure that looks like the
> following. I know this stored proc is useless but I am trying to get the
> concept here. I would like to execute multiple lines in nested if
> statements.

- group statements by enclosing them in BEGIN END
- use ; to separate stetments, not newlines
http://www.mysql.com/documentation/maxdb/a7/41ee2c605911d3a98800a0c9449261/frameset.htm

Daniel Dittmar

--
Daniel Dittmar
SAP Labs Berlin
daniel.dittmarsap.com

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb