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 / oddabout.com

SELECT replace(replace(replace('A.B....C.......D.........E........F','.',' @'),'@ ',''),' @','.') FROM dual

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to disable a trigger name update_salary?

661


How many types of cursors supported in pl/sql?

582


What type of database is cloud sql?

570


What type of join is sql join?

522


What are the various restrictions imposed on view in terms of dml?

512






How to assign sql query results to pl sql variables?

504


how mysql optimizes distinct? : Sql dba

541


How to read xml file in oracle pl sql?

498


What is case function?

588


Explain the difference between triggers and constraints?

510


Is sql port 1433 encrypted?

564


How do I audit the sql sent to the server?

515


Is sqlite good enough for production?

525


What is mutating table error?

650


How to select random rows from a table?

515