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
Is it necessary to add? Quit statement after a bteq query when I am calling it in a unix environment?
What is the difference between teradata and basic rdbms?
List the logical and conditional operators that are used with teradata along with their meanings?
What is spool space? Why do you get spool space errors?
What is database exceptions in teradata?
What are the uses of bynets in multi-node systems?
Explain the advantages of partitioned primary index in a query?
Explain the term 'tables' related to relational database management system?
What do you mean by teradata sql assistant?
What is meant by a Channel Driver?
Explain amp in teradata?
How do you define Teradata?
What are the design features involved in teradata?
What can be achieved by using the teradata rdbms?
When tpump is used instead of multiload?