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 / murali mohan
Try this,
update testsamp1 set c=decode
(c,'MALE','FEMALE','FEMALE','MALE');
Regards,
Murali
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How to commit the current transaction in oracle?
What is user managed backup in Oracle?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
What is literal?
What are the differences between date and timestamp in oracle?
How to write a query with an inner join in oracle?
Explain the use of grant option in imp command.
How to create an initialization parameter file?
How to concatenate two text values in oracle?
What is Virtual Private Database in Oracle?
What are the major difference between truncate and delete?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
How to rename an index?
What does sharding mean?
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?