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 variables in pl sql?

788


What is a sql instance vs database?

763


How to run pl/sql statements in sql*plus?

758


where are cookies actually stored on the hard disk? : Sql dba

785


Should I use mbr or gpt?

727






What is a nested table in word?

705


What are some predefined exceptions in pl/sql?

744


What is record variable?

708


What is sql constant?

677


How do I audit the sql sent to the server?

730


Can we join same table in sql?

736


Can a procedure in a package be overloaded?

754


Why do we use %rowtype & %type in plsql?

786


What is sql used for?

856


How to connect a sql*plus session to an oracle server?

819