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

Explain two easy sql optimizations.

612


what is log shipping? : Sql dba

619


What is query syntax?

526


What is rtm stands for?

591


What does select count (*) mean in sql?

558






What is difference between function and trigger?

555


How do I find sql profiler?

530


How to test for null values?

615


What is a .db file?

548


What is where clause in sql?

542


What is join view in sql?

522


Why we use triggers in mysql?

566


what is sub-query? : Transact sql

611


What is an index in sql with example?

526


What is difference between procedure and trigger?

528