SELECT CEIL(12345.67) FROM dual; --Smallest integer greater than or equal to a decimal value
SELECT floor(12345.67) FROM dual;--- Returns the largest integer less than or equal to a decimal value
SELECT round(12345.67) FROM dual;
SELECT trunc(12345.67) FROM dual;
SELECT GREATEST(9, 67.6, 10) FROM dual;
SELECT LEAST(9, 67.6,10) FROM dual;
SELECT MEDIAN(initial_extent) FROM all_tables ; ---Returns the middle value of a set
SELECT EXP(2) FROM dual;
Halim, a Georgia Tech graduate Senior Database Engineer/Data Architect based in Atlanta, USA, is an Oracle OCP DBA and Developer, Certified Cloud Architect Professional, and OCI Autonomous Database Specialist. With extensive expertise in database design, configuration, tuning, capacity planning, RAC, DG, scripting, Python, APEX, and PL/SQL, he combines technical mastery with a passion for innovation. Notably, Halim secured 16th place worldwide in PL/SQL Challenge Cup Playoff on the year 2010.
Friday, September 11, 2009
Subscribe to:
Post Comments (Atom)
My Blog List
-
-
-
ASSM states3 weeks ago
-
UKOUG Discover 20241 month ago
-
-
-
-
-
-
-
-
Moving Sideways8 years ago
-
-
Upcoming Events...11 years ago
-
No comments:
Post a Comment