24 Jun 18 · npack · #teradata ·   Bookmark   ×

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);


npack

posted on 24 Jun 18

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds

Copied