i have a word
***********hello********world******.
I require a o/p
**********hello world**********,
Need to delete the middle stars.
Answer Posted / chandan kumar
select (substr('***********hello********world******',1,instr
('***********hello********world******','o',1) )
||' '||substr('***********hello********world******',instr
('***********hello********world******','w',1) )
)
from dual
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is a pragma statement?
how to convert character strings to numeric values? : Sql dba
how would concatenate strings in mysql? : Sql dba
What is mutating error in pl sql?
How to order siblings in oracle hierarchy queries?
Does sql*plus also have a pl/sql engine?
Is sql database free?
How does one use sql*loader to load images, sound clips and documents? : aql loader
How can we avoid duplicating records in a query?
How do I debug a stored procedure?
What is a primary key sql?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
How can we make an if statement within a select statement?
What is execute immediate?
how to add a new column to an existing table in mysql? : Sql dba