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 are the uses of fact table and dimension table in banking project?
what are the day to day activities of teradata DBA ?
What are the various indexes in teradata? How to use them?
Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.
What are default access rights in teradata?
What is meant by a Virtual Disk?
Let us say there is a file that consists of 100 records out of which we need to skip the first and the last 20 records. What will the code snippet?
Backup Script was blocked then you are unable to archive the data. how do you analyze it and where do you identify ?
What is primary index and secondary index?
Which is more efficient group by or distinct to find duplicates?
Explain parsing engine in teradata?
What is the basic syntax for teradata select statement?
What is database exceptions in teradata?
What are the uses of bynets in multi-node systems?
What are the multiload utility limitations?