Oracle String Functions
initcap(char)–Returns a char with the first
letter of each word in uppercaseinstr(char1, char2,n,m)–n=position m=occurance
returns the numeric position of char2 in char1length(char)–Length of charlower(char)–Returns char
with all lower caselpad(char1,n,char2)–Return a char
with char1 left pad with char2ltrim(char)–Remove all leading spacesrpad(char1,n,char2)–Returns char
with char1 right pad with char2rtrim(char)–Remove all trailing spacessubstr(char,m,n)–Returns substring
start at m for n charactersupper(char)–Converts all characters
to uppercasechr(n)–Returns the ascii code equivalentconcat(char1, char2)–Return a char
which is the result of char1 and char2
Oracle Time Functions
ADD_MONTHS(d,n)–Add n months to d dateLAST_DAY(d)–Returns last day of the monthMONTHS_BETWEEN(d1,d2)–Difference between d1 and d2ROUND(d,fmt)–Round to formatTO_CHAR(string,format)TO_DATE(string,format)
Oracle Number Functions
ABS(value)–Absolute valueCEIL(value)–Smallest integer larger than equal to valueCOS(value)–Cosine valueEXP(value)–e raise to valueFLOOR(value)–Largest value smaller than equal to valueROUND(value)–Rounding of value to precisionSIGN(value)–1 if positive -1 if negativeSQRT(value)–Square root of valueTAN(value)–Tangent of valueTRUNC(value)–Value truncated to precision
Oracle Group Functions
Avg(value)–Average of value for a group of rowsCount(value)–Count rows of columnsMax(value)–Maximum of all value for groups of rowsMin(value)–Minimum of all values for groups of rowsSum(value)–Sum of all values for groups of rows