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
Answers were Sorted based on User's Feedback
Answer / tdguy
In TD 14.0, i hope OREPLACE function can be used.
SEL OREPLACE(Name,';',NULL) can be used to remove the ';'
character from the string.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / nitin bansal
You can use TRANSLATE function.
select translate(Name,'',';') as Name
from tablename;
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / srav
select case when substr(id,1,3)=';' then ' 'else substr(id,1,3)end from sravya.test4
Is This Answer Correct ? | 0 Yes | 1 No |
How can we pass Variable in Bteq with out using shell script Is it possible or not If possible let me know how can we pass varaibale
Difference between star and snowflake schemas?
Where is teradata rdbms used?
What is teradata?
Discuss the advantages of using partitioned primary index in a query?
Explain teradata architecture in detail with a diagram.
List out some of the primary characteristics of teradata.
Different phases of multiload?
Explain fastload in teradata?
Explain the term 'columns' related to relational database management system?
how to delete duplicate records in multi set table without using any tables
2 Answers Accenture, Nest, South Nests Software Solution, Spiro Solutions,
can i call router is a passive transformation