I Have Name field in a Table

Name
-------------
abcde;fgh;ijk;
abc;def;jklm;no

I want to write a sql to display name field data with out
';'.so i want to replace ; with '' how will write in
Teradata

Answer Posted / nitin bansal

You can use TRANSLATE function.

select translate(Name,'',';') as Name
from tablename;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the new features of teradata?

573


What exactly do you know about catching in teradata?

644


Can you fastexport a field, which is primary key by putting equality on that key?

711


What is upsert statement in teradata?

618


Describe primary index in teradata?

591






Explain Teradata performance tuning and optimization?

703


What do you mean by caching in teradata?

611


Explain amp in teradata?

579


What are the 5 phases in a multiload utility?

617


What is logical data model?

644


If the PMON is not working then how do you identify and monitor all the processes, resources and sessions ?

1745


What are the different design perspectives used in teradata?

554


Difference between star and snowflake schemas?

609


What are the steps involved in the process flow of the sql statement through channel attached system?

662


What is the difference between union and union all in teradata?

627