pears.SecAgencyStatusChangeAllowed

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Original SQL

CREATE FUNCTION "pears"."SecAgencyStatusChangeAllowed"( 
  IN "persid" CHAR(20),IN "oldstatus" CHAR(1),IN "newstatus" CHAR(1) ) 
RETURNS long VARCHAR
-- If disallowed status change is blocked
BEGIN
  DECLARE "rv" long VARCHAR;
  SET "rv" = '';
  RETURN("rv")
END