tailieunhanh - OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P4

OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P4: There is high demand for professionals in the information technology (IT) industry, and Oracle certifications are the hottest credential in the database world. You have made the right decision to pursue certification, because being Oracle Database 11g certified will give you a distinct advantage in this highly competitive market. | Using Single-Row Numeric Functions 81 TABLE Numeric Function Summary continued Function Description ATAN2 Returns the arc tangent takes two inputs BITAND Returns the result of a bitwise AND on two inputs CEIL Returns the next higher integer COS Returns the cosine COSH Returns the hyperbolic cosine EXP Returns the base of natural logarithms raised to a power FLOOR Returns the next smaller integer LN Returns the natural logarithm LOG Returns the logarithm MOD Returns the modulo remainder of a division operation NANVL Returns an alternate number if the value is Not a Number NaN for BINARY_FLOAT and BINARY_DOUBLE numbers POWER Returns a number raised to an arbitrary power REMAINDER Returns the remainder in a division operation ROUND Rounds a number SIGN Returns an indicator of sign negative positive or zero SIN Returns the sine SINH Returns the hyperbolic sine SQRT Returns the square root of a number TAN Returns the tangent TANH Returns the hyperbolic tangent TRUNC Truncates a number WIDTH_BUCKET Creates equal-width histograms 82 Chapter 2 Using Single-Row Functions Numeric Function Descriptions Numeric functions have numeric arguments and return numeric values. The trigonometric functions all operate on radians not degrees. The numeric functions are arranged in alphabetical order with descriptions and examples of each one. SIGN ROUND and TRUNC are most commonly used numeric functions pay particular attention to them. FLOOR CEIL MOD and REMAINDER are also important functions that can appear in the test. TRUNC and ROUND functions can take numeric input or a datetime input. These two functions are discussed in the Using Single-Row Date Functions section to illustrate their behavior with a datetime datatype input. ABS ABS n takes a single argument where n is a numeric datatype NUMBER BINARY_ FLOAT or BINARY_DOUBLE . This function returns the absolute value of n. SELECT ABS -52 negative ABS 52 positive FROM dual NEGATIVE POSITIVE -------------------- 52 52 ACOS ACOS n

TỪ KHÓA LIÊN QUAN