Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Which version of sql do I have?

1067


How do you concatenate in sql?

1034


How do you optimize a stored procedure query?

1004


What is a data manipulation language?

1028


What is the difference among union, minus and intersect?

1009


What is hibernate and its relation to sql?

1131


What sql does db2 use?

987


Why do we need cursors in pl sql?

1093


Explain ttitle and btitle.

1125


Why do you partition data?

1028


What is difference between left and right outer join?

995


What does the argument [or replace] do?

1094


why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba

1122


Can we have two clustered index on a table?

1028


How to check if a column is nullable before setting to nullable?

1133