24 June 2018        Add to Favorites   Report

How to find if a column has alphabets in Teradata

Also searched as : How to detect which is alphanumeric and which is alphabets only


Source data : i have data in one of the columns which looks like

column data:
A123BDG
ADGHKKL
12589
85963
2589a

Solution:

To find out the data that has alphabets in them,

SELECT * FROM TABLE WHERE UPPER(COLUMN_NAME) <> LOWER(COLUMN_NAME);



Read great educational content like this and a lot more ! Create my free account now 🎁

Copied