i have a word
***********hello********world******.
I require a o/p
**********hello world**********,
Need to delete the middle stars.
Answer Posted / ajit
select '******hello*****world*******' str,
rpad(lpad(replace('******hello*****world*******', '*'), 15, '*'), 20,'*') str1
from dual;
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do I start pl sql?
what is an alias command? : Sql dba
How do you pronounce sql?
How do sql databases work?
How run sql*plus commands that are stored in a local file?
How to run sql*plus commands in sql developer?
How do you delete duplicates in sql query using rowid?
what are set operators in sql? : Sql dba
List the different type of joins?
What is the difference between truncate and drop statements?
What is pl/sql language case sensitive?
Why is sql*loader direct path so fast?
What are conditional predicates?
what is dbms? : Sql dba
How does sql developer connect to oracle database?