Variable Scope « Procedure Function « MySQL Tutorial






11.11.Variable Scope
11.11.1.LOCAL, SESSION, AND GLOBAL VARIABLES IN MYSQL
11.11.2.Variable scope
11.11.3.Inner variable shadows the outter variable
11.11.4.Nested blocks
11.11.5.Using Declare statement to declare the local variable