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

how many modules are there in telecome domain?how to explain the architecture?

1642


What are some commonly used bteq scripts?

632


What is a node in teradata? Explain

675


Explain fallback in teradata?

686


How you will check the version of teradata?

712






What are teradata utilities?

702


Why is the case expression used in teradata?

685


how do you manage the production space. what are the proactive methods you can take ?

1562


What is the maximum number of dml can be coded in a multiload script?

698


How do you see a ddl for an existing table?

667


What is spool space?

706


What is the difference between fastload and multiload? Which one is faster?

730


Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com

2079


Explain the new features of teradata?

678


What are the different methods ot loading a dimension table? A fact table etc?

660