Im attempting to write a SQL procedure, unfortunately, since this is my first, it's not going well. This is what I have:
create procedure restore_from_edit()
begin
declare done int default 0;
declare cur1 cursor for (select pe.message, max(pe.editnum), pe.postid from page_edits pe group by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.