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