oracle 取余/求积
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions112.htm POWERSyntax
Purpose
This function takes as arguments any numeric datatype or any nonnumeric datatype that can be implicitly converted to a numeric datatype. If any argument is See Also: Table 2-10,"Implicit Type Conversion Matrix"for more information on implicit conversion Examples The following example returns 3 squared: SELECT POWER(3,2) "Raised" FROM DUAL; Raised ---------- 9 https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions088.htm MODSyntax
Purpose
This function takes as arguments any numeric datatype or any nonnumeric datatype that can be implicitly converted to a numeric datatype. Oracle determines the argument with the highest numeric precedence,implicitly converts the remaining arguments to that datatype,and returns that datatype. See Also: Table 2-10,"Implicit Type Conversion Matrix"for more information on implicit conversion and"Numeric Precedence"for information on numeric precedence Examples The following example returns the remainder of 11 divided by 4: SELECT MOD(11,4) "Modulus" FROM DUAL; Modulus ---------- 3 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |