Facebook | Back to login | Sky Store 0
 Examples for business, study, careers, love, and more...
Examples :: MYSQL Examples :: Example of Declare Mysql statement

Popular Examples

More MYSQL Examples

See all MYSQL Examples

Example of Declare Mysql statement:

CREATE PROCEDURE p8 ()
BEGIN DECLARE a INT;
DECLARE b INT; SET a = 5;
SET b = 5; INSERT INTO t VALUES (a);
SELECT s1 * a FROM t WHERE s1 >= b;
END;

Example of Mysql Declare

DECLARE variable_name variable_type