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 / 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 |
Post New Answer View All Answers
What is meant by a dispatcher?
What is the meaning of Caching in Teradata?
What is bteq script in teradata?
In Teradata, how do we Generate Sequence?
Highlight a few of the advantages that ETL tools have over Teradata.
What is meant by a Clique?
What are the things to be considered while creating secondary index?
What do you mean by ttu in teradata?
What are the various etl tools in the market?
Explain the parallel data extension in teradata?
What is the purpose of using case expression in teradata?
Explain teradata utilities?
If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.
What are different table types used in teradata?
Give the sizes of SMALLINT, BYTEINT and INTEGER.