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
How do you update sql?
what is a field in a database ? : Sql dba
Can a foreign key have a different name?
How does left join work in sql?
What is trigger in sql and its types?
Can dml statements be used in pl/sql?
What is a recursive join sql?
What is loop in pl sql?
How to get help at the sql prompt?
Is truncate ddl or dml?
Is sql open source?
What is t sql in sql server?
How do I add a primary key to a table?
Explain about various levels of constraint.
Why indexing is needed?