Oracle Functions::-It Accept Character Data As Input and Can Return Both
Oracle Functions::-It Accept Character Data As Input and Can Return Both
Function make the result of query easiear and are used to manipulate the data
values. Functions make the basic query block more powerful. Function can
accept any no of constant value or variable , these variable or constant are
called as arguments.
LPAD:- This function allows you to pad the left side of a column
with any set of characters.
RPAD:-
This function allows you to pad the right side of a column
with any set of characters
LTRIM:- This function enables you to trim the left character of
the string.
REPLACE:- It replace the older character value with the new one.
SUBSTR:- The substr functions allows you to extract a substring from
a string.
CASE CONVERSION:-
INITCAP:- This function returns the string with the first letter of
each word in uppercase.
UPPER:- This function converts string to all upper case.
TRANSLATE:-
ABSOLUTE:-
It gives the absolute value of a given input value.
EXPONENT:-
MOD:-
POWER:-
SIGN:- it gives sign.
TRUNCATE:-
This function truncates or chops off digits of precision from a number.
Syntax:- TRUNC(COLUMN|EXPRESSION,N)
DATE FUNCTION:
SYSDATE:-
NEXT DAY:-
GENERAL FUNCTION:
GREATEST NUMBER:-
It returns the maximum value among all given values.
LEAST NUMBER:-
SUM/AVG:-
GROUP BY CLAUSE:-