RosettaCodeData/Task/Associative-array-Creation/PL-SQL/associative-array-creation.sql

15 lines
354 B
MySQL
Raw Normal View History

2013-04-10 22:43:41 -07:00
DECLARE
type assocArrayType is record (
myShape VARCHAR2(20),
mySize number,
isActive BOOLEAN
);
assocArray assocArrayType;
BEGIN
assocArray.myShape := 'circle';
dbms_output.put_line ('assocArray.myShape: ' || assocArray.myShape);
dbms_output.put_line ('assocArray.mySize: ' || assocArray.mySize);
END;
/