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.NetOwnerSettingsSaveSwitches ====== <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"."NetOwnerSettingsSaveSwitches"( in "pWebUserID" char(20),in "switchID" char(50),in "newValue" integer ) result( "pResult" char(255) ) begin if "IQXNetHasPermission"("pWebUserID",'APIDESIGN') = 0 then select '99:~Permission denied' else update "IQXNetSwitch" set "Value" = "newValue" where "IQXNetSwitchID" = "switchID"; select '0:~Success' end if end go COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."NetOwnerSettingsSaveSwitches" IS {create PROCEDURE pears."NetOwnerSettingsSaveSwitches"( in "pWebUserID" char(20), in "switchID" char(50), in "newValue" integer) result(pResult char(255) ) BEGIN if "IQXNetHasPermission"("pWebUserID",'APIDESIGN') = 0 then select '99:~Permission denied'; else update IQXNetSwitch set Value = newValue where IQXNetSwitchID = switchID; select '0:~Success'; end if; END } </code> database/procedures/pears_netownersettingssaveswitches.txt Last modified: 2026/08/07 19:24by 127.0.0.1