Топ-100
 
CerebroSQL

CLOSE

Database: MySQL

68747470733a2f2f7374796c65732e7265646469746d656469612e636f6d2f74355f32716d366b2f7374796c65

Topic

Syntax:
CLOSE cursor_name

This statement closes a previously opened cursor. For an example, see
https://dev.mysql.com/doc/refman/8.0/en/cursors.html.

An error occurs if the cursor is not open.

If not closed explicitly, a cursor is closed at the end of the BEGIN
... END block in which it was declared.

URL: https://dev.mysql.com/doc/refman/8.0/en/close.html

Example