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.FirstWord ====== <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 function "pears"."FirstWord"( /* Application Maintained Function / Procedure - DO NOT EDIT*/ in "sWords" char(50) ) returns char(50) begin declare "i" integer; set "swords" = "trim"("swords"); set "i" = "charindex"(' ',"swords"); if "i" = 0 then return "swords" else return("left"("swords","i"-1)) end if end </code> database/functions/pears_firstword.txt Last modified: 2026/08/07 19:24by 127.0.0.1