Like shown below i have 3 columns(Name,No,Address). The
values in name column i want to modity.
Requirement : Keep only once space between two words
(Fname,Lname) in the Name column.
For this what is the query? Please answer me. Advance
Thanks.
Name No Address Reference
manoj kumar
kumar raja
vinzay kumar
rajendra prasad
gowri nath -- -- --
Answer Posted / kalyan
update test set NAME=regexp_replace(NAME,'( ){2,}', ' ')
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is mariadb nosql?
How bulk collect improves performance?
what is the difference between a having clause and a where clause? : Sql dba
Is sql a backend?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
what is subquery? : Sql dba
Can a foreign key have a different name?
How do I save a sql query?
How would you reference column values before and after you have inserted and deleted triggers?
Is sql procedural language?
Can we use rowid as primary key?
What is a function in oracle pl sql?
What is the difference between left and left outer join?
What is the use of nvl function?
Why we use pl sql?