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.NetCandidatePublicProfile ====== <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"."NetCandidatePublicProfile"( in "pWebUserID" char(20),in "pPersonID" char(20) ) result( "Name" char(100),"DOB" char(20),"hasPhoto" smallint ) begin select first "person"."name","dateformat"("person"."dob",'dd/mm/yyyy') as "DOB", if exists(select "id" from "blobstore" where "class" = 'J' and "id" = "person"."personid") and "iqxnethaspermission"("pWebUserID",'DOCCANDDOWNLOAD') = 1 then 1 else 0 endif as "hasPhoto" from "person" where "person"."personid" = "pPersonID" end go COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."NetCandidatePublicProfile" IS {create procedure pears."NetCandidatePublicProfile"( in "pWebUserID" char(20),in "pPersonID" char(20) ) result( "Name" char(100),"DOB" char(20),"hasPhoto" smallint ) begin select first "person"."name","dateformat"("person"."dob",'dd/mm/yyyy') as "DOB", if exists(select "id" from "blobstore" where "class" = 'J' and "id" = "person"."personid") and "iqxnethaspermission"("pWebUserID",'DOCCANDDOWNLOAD') = 1 then 1 else 0 endif as "hasPhoto" from "person" where "person"."personid" = "pPersonID" end } </code> database/procedures/pears_netcandidatepublicprofile.txt Last modified: 2026/08/07 19:24by 127.0.0.1