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
What are all ddl commands?
Explain the commit statement.
Can you sum a count in sql?
How do I run a sql script?
What are sql constraints?
What is the source code of a program?
what are date and time data types? : Sql dba
what is a primary key? : Sql dba
Can a varchar be a primary key?
What are the string functions in sql?
Explain ddl statements in pl/sql?
How to display the current date in sql?
How do rank () and dense_rank () differ?
What is data control language (dcl)?
Does pl/sql support create command?