Recommended Servers for MySQL
The world's most popular open source database
Contact a MySQL Representative
Login | Register
DECLARE
DECLARE cursor_name CURSOR FOR select_statement
cursor_name
select_statement
This statement declares a cursor. Multiple cursors may be declared in a stored program, but each cursor in a given block must have a unique name.
The SELECT statement cannot have an INTO clause.
SELECT
INTO
Add your own comment.
User Comments
Add your own comment.