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 / sreenivasulu sangatipalli

SELECT regexp_replace('A...B..C.D......E....F', '[.]+', '.') FROM DUAL;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stored procedures in mysql?

546


what is dbms? : Sql dba

528


Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?

566


If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????

3536


Why is theta join required?

649






What are the types of variables use in pl sql?

488


How do we accept inputs from user during runtime?

538


Is natural join same as inner join?

495


what is datawarehouse? : Sql dba

553


Mention what problem one might face while writing log information to a data-base table in pl/sql?

660


What is a common use of group by in sql?

580


How do I upgrade sql?

530


How do you take the union of two tables in sql?

509


Are stored procedures faster than queries?

512


How do I save the results of sql query in a file?

517