CREATE function TRIM(col varchar(60)) return varchar(32) import import java.io.*; begin return col.trim(); end |
SELECT distinct TRIM(tenantname_tbl(pub.mtCustomer)) from pub.mtCustomer; TRIM(tenantName_tbl(MTCUSTOMER)) -------------------------------- OEDProducts SNCSoftware |