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


Please Help Members By Posting Answers For Below Questions

What are tables in sql?

542


What are the set operators in sql?

547


What is trigger explain it?

547


What does := mean in pl sql?

551


Which is better join or inner query?

512






how to load data files into tables with 'mysqlimport'? : Sql dba

516


What is union and union all keyword in sql?

563


Explain what is sql?

602


What is index example?

550


What are the benefits of triggers?

592


What is java sql driver?

539


what is a record in a database ? : Sql dba

566


what is acid property in database? : Sql dba

555


Why commit is not used in triggers?

574


How many clustered indexes can be created on a table?

580