MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.1.5 DECLARE Statement

The DECLARE statement is used to define various items local to a routine: local variables (see section 18.1.6 Variables in Stored Procedures), conditions and handlers (see section 18.1.7 Conditions and Handlers) and cursors (see section 18.1.8 Cursors). SIGNAL and RESIGNAL statements are not currently supported.

DECLARE may only be used inside a BEGIN ... END compound statement and must be at its start, before any other statements.



This document was generated by rdg (Feb 25 2004) using texi2html