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


Please Help Members By Posting Answers For Below Questions

what is row? : Sql dba

714


What is out parameter used for eventhough return statement can also be used in pl/sql?

588


How many indexes can be created on a table in sql?

498


What is the difference between pl and sql?

547


How to write pl sql program in mysql command prompt?

521






How many sql statements are used?

570


what is the difference between truncate and drop statements? : Sql dba

558


What is clause?

614


What is sqlite format?

633


Explain architecture of sql server notification services?

624


explain the difference between bool, tinyint and bit. : Sql dba

532


What are sql injection vulnerabilities?

500


What do you mean by stored procedures?

555


what is the difference between a web-garden and a web-farm? : Sql dba

565


What is a unique key?

590