The DECLARE statement does not support host variables for the specified cursor. If the cursor name is provided through a
host variable, then you should use full dynamic SQL and prepare the statement. A prepared statement can have host variables
in it.