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

Interchange the value of a column Gender in a table where
values are Male and Female. So, where the value is Male, it
should changed to Female and Female to Male.

Answer Posted / sushma s

Update table_name
Set gender = decode(gender,'M','F','M');

Is This Answer Correct ?    8 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does desc stand for?

1125


what is oltp (online transaction processing)? : Sql dba

1130


Does sql view stored data?

1003


What is an emotional trigger?

1059


What is the difference between left outer join and left join?

1037


What are different types of sql commands?

1204


What is sharding in sql?

1041


What are the events on which a database trigger can be based?

1246


What is the use of <> sql?

1039


How do I remove all records from a table?

1119


define join and explain different type of joins? : Sql dba

1002


How do I create a sql database?

1056


What is schema in sql?

1003


Why procedure is used in sql?

1087


Explain some predefined exceptions.

1094