How can I declare a variable of type RECORD?
I am trying to port a stored procedure from PostgreSQL which has the following in it:
DECLARE
person RECORD;
BEGIN
SELECT INTO person name_first,name_middle,name_last FROM people WHERE id=person_id;
<snip>
it seems MySQL 5.0.21 doesn't support type RECORD in stored procs or triggers. How can I replicate this behavior?
Subject
Views
Written By
Posted
How can I declare a variable of type RECORD?
14371
May 20, 2006 11:45PM
10081
May 21, 2006 12:00AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.