Will a FOR loop like this work in MySql? ...It won't compile for me -
create procedure wfhnxtmth (in inyear int, in inmonth int) begin week select week calendar month = inmonth insert calname (id,year,month,week,monstat,tuestat,wedstat,thustat,fristat,pager) select id, inyear, inmonth, week, 'in', 'in', 'in', 'in', 'in', 'n' name; end for; end
no, can't take sps 1 dbms system , expect them run. have rewrite them in quirky language of target dbms.
Comments
Post a Comment