Support 805.461.7300
Sales
Our Technology. Your Success.

Count the number of words in a field

In this command, the number of words in the Address field will be tabulated in a field named countadd:

ALTER TABLE ALIAS() ADD COLUMN countadd C(10)

REPLACE ALL countadd WITH TRANSFORM(WORDS(address))

« Back to Commands

I just wanted you to know what a pleasure it is to work with your support staff.
J.F., Worcester, MA