chirantan (or)
DESCRIPTION
oracleTRANSCRIPT
![Page 1: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/1.jpg)
![Page 2: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/2.jpg)
A) Lower():-:Returns Character with all letters in
O/P-:
Lowercase.
Syn-:Lower(char)
Ex-:Select Lower(‘ORACLE’) “Lower case” from dual;
oracle
![Page 3: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/3.jpg)
B) Upper():
-:Return Character with all letters in upper case
Syn-: Upper(case)
EX-:select Upper(‘oracle’)”Upper case” from Dual;
O/P-: ORACLE
![Page 4: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/4.jpg)
C) Initcap():
-:Return char with the first letter of each word in
uppercase,all other letters in uppercase.
Syn-: Initcap(char)
Ex-:select Initcap(‘oracle’)”capital” from Dual;
O/p-: Oracle
![Page 5: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/5.jpg)
D) Substr():
-: Return the mid character
Syn-: Substr(<string>,<start-position>,<length>)
EX-: select Substr(‘substring’,3,4)”Substring” from Dual;
O/P-: bstr
![Page 6: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/6.jpg)
E) Instr():
-:Returns the location of a substring in a string.
Syn-:Instr(char1,char2[,n[,m]])
EX-:select Instr(‘corporate Floor’,’or’,3,2) from Dual;
O/P-: 14
![Page 7: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/7.jpg)
f) Lpad():
Syn-:Lpad(char1,n,[,char2])
Syn-: select Lpad(‘Atmiya’,10,’*’)”LPAD” from Dual;
****AtmiyaO/P-:
![Page 8: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/8.jpg)
G) Rpad():
Syn-: Rpad(char1,n[,char2])
EX-:select Rpad(‘Atmiya’,10,’*’)”RPAD” from Dual;
O/P-: Atmiya****
![Page 9: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/9.jpg)
H) Vsize():
-:Return the number of bytes in internal represention
EX-:Select Vsize(‘Welcome to Atmiya)”Size” from Dual;
O/P-: 17
of an expression.
![Page 10: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/10.jpg)
I) Translate():
-:Replaces a sequence of character in a string with
other set of character.
Syn-:Translate(<string1>,<start_to_replace>,
EX-:select Translate(‘Atmiya12’,’12’,’ta’) “Translate
O/P-: Atmiyata
<replacement_string>)
change”from Dual;
![Page 11: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/11.jpg)
J) Length():
-:Return the length of a word.
Syn-:Length(word)
EX-:select length(‘Sarvanaman’)”Length of Word”from Dual;
O/P-: 10
![Page 12: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/12.jpg)
K) Ltrim():
-:Remove the charcter from the left side of char.
Syn-:Ltrim(char[,set])
Ex-:select ltrim(‘Atmiya’,’A’)”Ltrim” from Dual;
O/P-: tmiya
![Page 13: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/13.jpg)
L) Rtrim():
-:Remove the character from the right side of char.
Syn-:Rtrim(char[,set])
Ex-:select Rtrim(‘Atmiya’,’a’)”Rtrim” from Dual;
O/P-: Atmiy
![Page 14: Chirantan (or)](https://reader034.vdocuments.site/reader034/viewer/2022042515/55561d9dd8b42ae0238b5241/html5/thumbnails/14.jpg)
Thank You
Jay Swaminarayan