Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.NetQuestionGroupCountForDepartment ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Original SQL ===== <code sql> create procedure "pears"."NetQuestionGroupCountForDepartment"( in "pWebUserID" char(20),in "pDepartmentID" char(20) ) result( "pCount" integer ) // IQXWeb begin select "count"() from "IQXNetTagGroup" where "iqxnettaggroupid" like "isnull"("pDepartmentID",'')+'_%' end /* DOC 2017-08-15 PC count question groups for departments where department group id has a structure including "_9" */ go COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."NetQuestionGroupCountForDepartment" IS {create PROCEDURE pears."NetQuestionGroupCountForDepartment"(in pWebUserID char(20), in pDepartmentID char(20)) RESULT(pCount integer) // IQXWeb BEGIN select count(*) from IQXNetTagGroup where iqxnettaggroupid like isnull(pDepartmentID,'')+'_%' END /* DOC 2017-08-15 PC count question groups for departments where department group id has a structure including "_9" */ } </code> database/procedures/pears_netquestiongroupcountfordepartment.txt Last modified: 2026/08/07 19:24by 127.0.0.1