I am getting an error while declaring a varchar in MySQL 5.0.77:
DECLARE city varchar(20);
The above line of code works fine in an Oracle database, but not in MySQL. Can someone suggest a solution? I saw a similar question on this site, but could not find a suitable answer.
One more question: %ROWTYPE
and %TYPE
are these declarations there in MYSQL?