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.UniqueKey ====== <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> 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 } </code> database/procedures/pears_uniquekey.txt Last modified: 2026/08/07 19:24by 127.0.0.1