spaces in coloumn

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dssubhani
Participant
Posts: 38
Joined: Wed Jul 14, 2010 11:12 pm

spaces in coloumn

Post by dssubhani »

HOW CAN WE FIND NO . OF SPACES IN PARTICULAR COLUMN?
subhani
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

All caps is considered as shouting, no need to shout here.

Search is your friend for basic questions.

However, the answer is, use DCount().
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The COUNT() function will count the number of characters, the DCOUNT() function will give you the number of fields delimited by spaces. DCOUNT('XX','X') will return 3, COUNT('XX','X') will return 2.
Post Reply