oracle function power
---power第二個引數即多少次方
----2的0次方,0可以寫成00或者0,僅是表達方式不同,經果是一樣的
SQL> select power(2,00) from dual;
POWER(2,00)
-----------
1
POWER(2,00)
-----------
1
---2的1次方,01即是1
SQL> select power(2,01) from dual;
POWER(2,01)
-----------
2
SQL> select power(2,03) from dual;
POWER(2,03)
-----------
8
SQL> select power(2,3) from dual;
POWER(2,3)
----------
8
SQL> select power(2,01) from dual;
POWER(2,01)
-----------
2
SQL> select power(2,03) from dual;
POWER(2,03)
-----------
8
SQL> select power(2,3) from dual;
POWER(2,3)
----------
8
----2的3.5次方,說明可以是非整數
SQL> select power(2,3.5) from dual;
POWER(2,3.5)
------------
11.313708498
------2的-3.5次方,可以是負非整數
SQL> select power(2,-3.5) from dual;
POWER(2,-3.5)
-------------
0.08838834764
SQL> select power(2,3.5) from dual;
POWER(2,3.5)
------------
11.313708498
------2的-3.5次方,可以是負非整數
SQL> select power(2,-3.5) from dual;
POWER(2,-3.5)
-------------
0.08838834764
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-753436/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle function overviewOracleFunctionView
- Oracle Table FunctionOracleFunction
- ASCII in oracle, masking power onASCIIOracle
- oracle INTERNAL_FUNCTIONOracleFunction
- Oracle Deterministic FunctionOracleFunction
- 【POWER】Oracle的冪運算Oracle
- Oracle Pipelined FunctionOracleFunction
- oracle function函式castOracleFunction函式AST
- BIRT呼叫oracle function薦OracleFunction
- a demo function of oracle for AKingFunctionOracle
- Oracle ASM新增磁碟組POWER OPTIONOracleASM
- Oracle基礎之function使用OracleFunction
- oracle create function 例項2OracleFunction
- Oracle Profile and PASSWORD_VERIFY_FUNCTIONOracleFunction
- Oracle OCP 1Z0 053 Q74(ASM POWER ASM_POWER_LIMIT)OracleASMMIT
- 構建oracle function的小示例OracleFunction
- Oracle Date Function 講解和事例OracleFunction
- oracle ASM中ASM_POWER_LIMIT引數OracleASMMIT
- javascript 中function(){},new function(),new Function(),Function 摘錄JavaScriptFunction
- Oracle vs PostgreSQL Develop(28) - function overloadOracleSQLdevFunction
- oracle11中的char_functionOracleFunction
- Oracle replace function to delete sub-stringOracleFunctiondelete
- oracle create function的兩個例項OracleFunction
- ORACLE HANDBOOK系列之一:Oracle分析函式(Analytic Function)Oracle函式Function
- Oracle vs PostgreSQL Develop(24) - subquery with agg functionOracleSQLdevFunction
- Oracle Common Function Library 參考文件OracleFunction
- ORACLE FUNCTION函式中DETERMINISTIC測試OracleFunction函式
- aix 6 oracle power 64 impdp 11.2.0.2 ORA-04030AIOracle
- Oracle Reporting 1 - Ratio_to_Report FunctionOracleFunction
- Oracle Date Function 講解和事例【Blog 搬家】OracleFunction
- Oracle procedure,package,function,triger 閃回 恢復OraclePackageFunction
- $(function(){})與(function($){....})(jQuery)的區別FunctionjQuery
- UFS之Power Mode
- Power Profiles for AndroidAndroid
- E. Expected Power
- Shichikuji and Power Grid
- IBM Power5&Power6小型機 HMC預設IPIBM
- JavaScript FunctionJavaScriptFunction