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
What are the types of operators available in sql?
what is self-join? : Sql dba
Is primary key clustered or nonclustered?
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
Explain the select statement in sql?
What can you do with pl sql?
How to make a copy values from one column to another in sql?
What is scalar and vector?
What is the difference between the sql*loader and import utilities? : aql loader
How does cross join work?
What is assignment operator in pl sql?
What is the difference between the repeatable read and serializable isolation levels? : Transact sql
Write the alter statement to enable all the triggers on the t.students table.
What is the difference between an inner join and an outer join?
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?