====== pears.InsertMassCIS07TemplateUpdates ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create procedure "pears"."InsertMassCIS07TemplateUpdates"(
/* Application Maintained Function / Procedure - DO NOT EDIT*/
in @CIS07TemplateID char(20) )
begin
for "fetchfor" as "fetchcursor" no scroll cursor for
select "pay_employee"."personid" as "nextpersonid" from "pay_employee" where "pay_employee"."CIS07TemplateID" = @CIS07TemplateID for read only do
call "InsertCIS07FromTemplate"("NextPersonID")
end for
end
go
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."InsertMassCIS07TemplateUpdates" IS
{create procedure InsertMassCIS07TemplateUpdates
/* Application Maintained Function / Procedure - DO NOT EDIT*/
(in @CIS07TemplateID char(20))
begin
for fetchfor as fetchcursor no scroll cursor for
select pay_employee.personid as nextpersonid from pay_employee where pay_employee.CIS07TemplateID = @CIS07TemplateID for read only do
call InsertCIS07FromTemplate(NextPersonID) end for
end
}