24 June 2018 · npac ·       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);


npac

posted on 24 June 2018

Read great educational content like this and a lot more !

Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too

Copied