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 many tables can a sql database have?
What is difference between pls_integer and integer?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
What is restrict in sql?
What is type and rowtype in pl sql?
what is the command line end user interface - mysql? : Sql dba
Explain locks? : Transact sql
What is the purpose of using pl/sql?
How do I audit the sql sent to the server?
what is schema? : Sql dba
How many sql statements are used?
What is the use of triggers?
What is sql resultset?
What is sqlca in powerbuilder?
What is sql query optimization?