Sitemap
 

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
 
Earn Money
Make Web Sites
Free Web Tools
Most searched EBooks
Help us to maintain this site free
© Copyright 2004-2007 www.easywebtech.com   
All Rights Reserved.   
Privacy policy
Earn Money with adsense Adsl wifi

technorati technorati