日期:2014-05-16 浏览次数:20949 次
BEGIN
#Routine body goes here...
#INSERT china into (name,parentid,path) values ('中国',0,'0,1,')
DECLARE p_cursor CURSOR FOR select Name from province;
DECLARE n varchar(25);
OPEN p_cursor;
CURSOR_loop:LOOP
FETCH p_cursor INTO n;
CLOSE p_cursor;
END;