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

I just wanted to take a moment and let you know what an asset Donna Tackett is to your organization. I can not tell you how many times she has helped me understand direct mail as well as the software. She has definitely become my “go to “ person when it comes to doing a mailing. Always professional and personable, I can’t brag about her enough.
B.S., Fayetteville, NC