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...

One Table having two rows with one colomn having values
Like"Male" and "Female". how to upadte these values
Like "Female" and "Male" in single update statement.

Answer Posted / selvaraj anna university coe

UPDATE Eptbl SET Sex=DECODE
(Sex,'Male','Female','Female','Male');

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an oracle testing table?

1128


How many data types are supported?

1140


What is a dynamic performance view in oracle?

1059


How to delete a user account in oracle?

1022


How to insert a record into a table?

1122


Why cursor variables are easier to use than cursors?

1142


Can we convert a date to char in oracle and if so, what would be the syntax?

1065


What privilege is needed for a user to insert rows to tables in another schema?

1062


How are extents allocated to a segment?

1182


How to define a variable to match a table column data type?

1039


Can multiple columns be used in group by in oracle?

1038


What are the advantages of oracle?

1072


How to retrieve data from an explicit cursor?

1110


How to export data with a field delimiter?

1088


Explain integrity constraint?

1209