Hi frnds...can any one help me regarding this que..

We have column in a table name it as C1 WHICH CONTAIN
ALPHANUMERIC AND NUMERIC VALUES.

C1
2A
2B
2V
2H
1
2
3
4
5

i want to retrive numeric values like 1,2,3,4,5

How we can get

Plz let me know.Thanks in advance

Answer Posted / chelvam

select C1,
CASE WHEN ( C1( UPPERCASE) = C1(CS) ) THEN
'NUMERIC'
ELSE
'ALPHANUMERIC'
END as C11
from TableName;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the meaning of Amp?

601


How you will check the version of teradata?

599


What happens in a conflict? How do you handle that?

640


What is the particular designated level at which a LOCK is liable to be applied in Teradata?

610


How many tables can you join in v2r5?

632






What is teradata and why it is used?

599


Why does varchar occupy 2 extra bytes?

621


What is partitioned primary index (ppi)?

579


Explain the teradata primary index mechanics in detail with a diagram.

577


Difference between star and snowflake schemas?

611


My table got locked during mload due to a failed job. What do I do to perform other operations on it?

690


Explain parsing engine in teradata?

603


What is spool space? Why do you get spool space errors? How do trouble-shoot them?

547


What are the different functions performed in development phase?

582


What are the joins in teradata?

582