pears.UniqueKey

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

COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."UniqueKey" IS 
{CREATE FUNCTION UniqueKey 
 
/* Application Maintained Function / Procedure - DO NOT EDIT*/
 
(IN x CHAR(50) DEFAULT NULL )
RETURNS CHAR(20)  NOT deterministic
BEGIN
 RETURN string(IQXDBID,UPPER(RIGHT(inttohex(UniqSeq.NextVal),7)),RIGHT(dateformat(CURRENT TIMESTAMP,'yyyymmddhhnn'),11));
END
}
  • database/procedures/pears_uniquekey.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1