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 do we represent comments in oracle?
What is rich query?
you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz
What is a data lock in oracle?
How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.
Explain about achiever in sql?
How to define default values for formal parameters?
What are the most common interview questions on ETL Testing for experience?
What is set operator oracle?
How to check your oracle database 10g xe installation?
Explain self joins in oracle?
How to select some rows from a table in oracle?
What is a nvl function?
I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?
What is literal?