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
Explain the insert into statements in sql?
Can two tables have same primary key?
Does truncate require commit?
What is sqlexception in java?
What are the two virtual tables available at the time of database trigger execution?
Explain the difference between sql and mysql.
What is the limitation on the block size of pl/sql?
What is the current version of postgresql?
what is the command line end user interface - mysql? : Sql dba
What is delimiter sql?
What are sql injection vulnerabilities?
What is difference between db2 and sql?
What is difference between pl and sql?
What is the order of sql select?
how can you see all indexes defined for a table? : Sql dba