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 maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
How can I speed up sql query?
what is the syntax used for partition in tsql? : Transact sql
What is sql dialect?
What are the parameter modes supported by pl/sql?
What is range partitioning?
Is full outer join same as cross join?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
Define select, insert, create, delete, update, drop keywords
What is mdf ldf and ndf?
How is a PL/SQL code compiled?
Is mariadb a nosql database?
how can we submit a form without a submit button? : Sql dba
Do we need to rebuild index after truncate?
what is collation? : Sql dba