Suppose There is a string
A.B....C.......D.........E........F In this string dots (.)
are not having fixed count in between of string. I want the
output to have string with one dot between. I.e.
A.B.C.D.E.F
Answer Posted / dilip kumar
SELECT REGEXP_REPLACE (
Replace ('A.B....C.......D.........E........F', '.', ' '),
'( ){1,}',
'.')
FROM DUAL;
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What does rownum mean in sql?
What is the purpose of my sql?
What is sql mysql pl sql oracle?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
Is left join same as join?
Which data type is a composite type?
Does sql between include endpoints?
How can I speed up sql query?
what is a relationship and what are they? : Sql dba
What is a full join sql?
Can I learn sql in a week?
Write a query to display the current date in sql?
What is substitution variable?
What are the possible values for the boolean data field?
What do you understand by pl/sql cursors?