I tried to create a cursor in MySql using the following code. but I get the DECLARE is not valid ...
error. why?
DECLARE CastCursor CURSOR
FOR
SELECT * FROM Customers
where cust_email IS NULL;
I tried to create a cursor in MySql using the following code. but I get the DECLARE is not valid ...
error. why?
DECLARE CastCursor CURSOR
FOR
SELECT * FROM Customers
where cust_email IS NULL;