How about, (untested obviously, the comparison list needs to be
completed).

SELECT cnmacc
FROM arstageeo/arcnm
WHERE SUBSTR(cnmacc,1,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,2,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,3,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,4,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,5,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,6,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,7,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,8,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,9,1) not in ('0',...,'9','A',...,'Z')
OR SUBSTR(cnmacc,10,1) not in ('0',...,'9','A',...,'Z')


SELECT cnmacc FROM arstageeo/arcnm WHERE cnmacc not like('%
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ%')

Reggie Acosta
Brown Jordan Company

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].