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 a sparse index?
What are the 5 phases in a multiload utility?
What is meant by a dispatcher?
What is dimensional modeling?
Can you connect multiload from ab initio?
Why does varchar occupy 2 extra bytes?
What are the frequently used data types in teradata?
What is the difference between fastload and multiload?
Backup Script was blocked then you are unable to archive the data. how do you analyze it and where do you identify ?
What can be achieved by using the teradata rdbms?
Why are oltp database designs not generally a good idea for a data warehouse?
Explain teradata vs. Redshift?
What is the basic syntax for teradata select statement?
What is the difference between teradata and oracle?
What is a node in teradata?