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 to run 'mysql' commands from a batch file? : Sql dba
How do you add a column to a table?
Explain mutating table error.
describe mysql connection using mysql binary. : Sql dba
Who is the owner of mysql database?
What is pl sql block in dbms?
What are the usages of sql?
How do I view a procedure in sql?
what is meant by urlencode and urldocode? : Sql dba
What are the syntax and use of the coalesce function?
What is procedure and function in sql?
What is the difference between unique and primary key constraints?
Does pl/sql support create command?
How to revise and re-run the last sql command?
What is denormalization in a database?