Oracle REPLACE,ROUND Functions
REPLACE(char, search_str[, replace_str]) ANSI alternative to decode() Replace every occurrence of search_str with replace_str, replace_str defaults to null.
select REPLACE('Earn Money','Mon') from dual Result :Earn ey
select REPLACE('Earn Money','Mon','K') from dual Result :Earn Key
ROUND(n,d) n rounded to d decimal places (d defaults to 0) select ROUND(10.00) from dual Result:10
select ROUND(10.99,2) from dual Result:10.99
select ROUND(10.99,1) from dual Result:11
|
|
Page 1
|
|