create procedure wfhnxtmth
(in inYear int,
in inMonth int)
begin
FOR week AS
SELECT week FROM calendar WHERE month = inMonth
DO
INSERT INTO calname
(id,year,month,week,monstat,tuestat,wedstat,thustat,fristat,pager)
SELECT id, inYear, inMonth, week, 'IN', 'IN', 'IN', 'IN', 'IN', 'N'
FROM name;
END FOR;
end
答案 0 :(得分:0)
不,您不能将sps从一个DBMS系统转移到另一个DBMS系统并期望它们运行。你必须用目标DBMS的古怪语言重写它们。