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

id name gender
1 Ram Female
2 Kumar Female
3 sathish Female
4 Santhya Male
5 Durga Male
6 Priya Male

This is my input...how to change Gender Male to Female &
Female to Male??? Write sql query for this question???

Answer Posted / srinu

update stud set gender= decode(gender,'M','F','F','M')

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is called partitioned primary index (ppi)?

1013


What are the enhanced features in teradata v2r5 and v2r6?

1138


In general, how do you optimze any sql in teradata?

1043


How is MLOAD Teradata Server restarted after execution?

1268


What are the various etl tools in the market?

1074


What are the different design perspectives used in teradata?

983


What are the primary characteristics of the Teradata.

1160


What are the functions performed by bynet?

1043


What are the different methods ot loading a dimension table? A fact table etc?

1038


If Fast Load Script fails and only the error tables are made available to you, then how will you restart?

1154


How can we check the version of Teradata that we are using currently?

1069


What is bteq utility in teradata?

981


How will you solve the problem that occurs during update?

1057


When tpump is used instead of multiload?

1106


Describe the between keyword in teradata?

1040