Skip to main content
Announcements
NEW Customer Portal: Initial launch will improve how you submit Support Cases. FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vkolasani
Contributor III
Contributor III

How do we get the distinct characters in any column of a database?

Hi,

I am looking for unique distribution of characters in any column of a data base.

I am using below expression but it is giving the chrecters in every and is the reason I am getting duplicate charecters.

Advance thanks and any help on this would be appriciated.

Thanks,

Venu

2 Replies
krishna_2644
Specialist III
Specialist III

Expression in the picture are just some random symbols.can you paste the expression?

vkolasani
Contributor III
Contributor III
Author

,if(max(len(purgechar(lower([$(vFieldName)]), '0123456789abcdefghijklmnopqrstuvwxyz.""-_()/\''',))) > 0, CONCAT(DISTINCT TRIM(purgechar(lower(([$(vFieldName)])), '0123456789abcdefghijklmnopqrstuvwxyz.""-_()/\'','))),'') as [_Non AlphaNumeric11]