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 get last row id?

970


How to use "if" statements on multiple conditions?

1143


What is primefaces used for?

1036


What is MTTR advisor in Oracle?

1077


Will you be able to store pictures in the database?

1093


What are the extensions used by oracle reports?

1024


Briefly explain what is literal? Give an example where it can be used?

1012


In oracle there is column command, how will you explain that?

1020


How can Oracle users be audited?

1090


What is the quickest way to fetch the data from a table?

1043


normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

2182


When do you get a .pll extension in oracle?

1126


What is a nested table?

1037


What do database buffers contain?

1005


Explain the use of control file?

1095