How to convert lowercase letters to uppercase and uppercase letters to lowercase in a string. (ex, AbcdEfG should convert as aBCDeFg)
Answer Posted / debashis mohanty
Select 'AbcdEfG',LOWER(SUBSTR('AbcdEfG',1,1))||UPPER(SUBSTR('AbcdEfG',2,3))||LOWER(SUBSTR('AbcdEfG',5,1))||UPPER(SUBSTR('AbcdEfG',6,1))||LOWER(SUBSTR('AbcdEfG',7,1)) From Dual
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the least restrictive isolation level? : Transact sql
Where do we use pl sql?
How do I run a pl sql procedure in sql developer?
What is a recursive join sql?
Is it possible to create startup or shutdown trigger for on-schema?
Explain how exception handling is done in advance pl/sql?
Is not null in sql?
What is query optimization in sql?
What is %type in sql?
What is the use of sqlerrd 3?
Write the command to remove all players named sachin from the players table.
How do you truncate?
What are the different ways to optimize a sql query?
Explain what is a subquery ?
What is delimiter in pl sql?