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 / sandeep kumar
select replace(regexp_replace(replace
('A.B....C.......D.........E........F','.',' '),'( )
{2,}',' '),' ','.') from dual
| Is This Answer Correct ? | 1 Yes | 13 No |
Post New Answer View All Answers
What is a variable in sql?
what is a database transaction? : Sql dba
Is pl sql and postgresql same?
What is the difference between the conventional and direct path loader? : aql loader
Explain the select statement in sql?
what are all the common sql function? : Sql dba
How many types of index are there?
Can we edit a view in sql?
Can sql developer connect to db2?
Write a query to display the current date in sql?
How does sql*loader handles newline characters in a record? : aql loader
How do temporal tables work?
What is a schema? How is it useful in sql servers?
Is time a data type in sql?
Can we use the cursor's to create the collection in PL/SQL?