Support 805.461.7300
Sales
Our Technology. Your Success.

Count Characters in a Field

This command will create a field named addcount and populate it with the number of characters in the address field,  and it will sort and put the highest number as the top

ALTER TABLE ALIAS() ADD COLUMN addcount

Replace all addcount with PADL(ALLT(STR(LEN(ALLT(address)))),3,"0")

Index on last descending tag mytag

« Back to Commands

The [Merge Fields feature]...saved me hours of having to do a bunch of manual address corrections in an updated database, that I already had done months ago on my original database. What a relief. Certainly Rolaids can't top this.
V.J., Los Angeles, CA