標籤:http://blog.csdn.net/pan_tian/article/details/7754598API To Find Sales Order‘s Subtotal,discount,charges and Tax (OE_OE_TOTALS_SUMMARY.ORDER_TOTALS)API for Cancelling the Purchase Order (PO) Document (PO_DOCUMENT_CONTROL_PUB.CONTROL_DOCUMENT)API
標籤:Oracle/PLSQL: LENGTH FunctionThis Oracle tutorial explains how to use the Oracle/PLSQL LENGTH function with syntax and examples.DescriptionThe Oracle/PLSQL LENGTH function returns the length of the specified string.SyntaxThe syntax for the LENGTH
標籤:Oracle/PLSQL: LPAD FunctionThis Oracle tutorial explains how to use the Oracle/PLSQL LPAD function with syntax and examples.DescriptionThe Oracle/PLSQL LPAD function pads the left-side of a string with a specific set of characters (when string1
標籤:usually we need to export the database tables to backup and others use. So we must know what to do export those data .just exmple when I export the oracle all database tables with dmp files.the method is following :#exp
標籤:現在有兩個表,A表欄位AMOUNT為發票金額,B表欄位REV為收款金額,兩表通過欄位id關聯,需將A表的欄位AMOUNT與B表的欄位REV相減, 但是A表表示的發票可能對應多個B表的收款金額,如何將A表的AMOUNT與對應的B表的多個REV值的和相減,得到未收款金額 select a.id,(nvl(a.AMOUNT,0)-nvl(b.REV,0)) Result from a, (select b.id,
標籤:近日有同事在外面部署系統時,安裝資料庫時可能選擇了UTF-8編碼格式,匯入insert語句時,一個漢字被認為三個位元組,這是不行的。 結合上網搜到的資料,將oracle資料庫的編碼格式,從utf-8改為GBK後,一切正常了。附:PLSQL執行記錄:---------------------------Microsoft Windows [版本 6.0.6002]著作權 (C) 2006 Microsoft
標籤: -- 找到指定的snapselect snap_id, max(sample_time) from sys.wrh$_active_session_history group by snap_idorder by snap_id desc;-- AWRSELECT * FROM TABLE(dbms_workload_repository.awr_report_html( (select dbid from v$database), 1, 26663,