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 are the ddl commands?
Is left join same as inner join?
how to check server status with 'mysqladmin'? : Sql dba
How do I view a sql trace file?
What is rename in sql?
How to avoid using cursors? What to use instead of cursor and in what cases to do so?
Is sql a scripting language?
what is 'mysqlshow'? : Sql dba
Is crud a cuss word?
What are the dml statements?
What is restrict in sql?
What are the different types of constraints?
How to set up sql*plus output format in oracle?
What is sql mysql pl sql oracle?
What is use of trigger?