oracle列合并,oracle列 在許多場合,我們會需要用到oracle列合并,oracle提供了一些方法用於把某列的多行資料合併成一行。 一、10G以前使用WMSYS.WM_CONCAT wmsys.wm_concat將欄位的值用","來隔開。 select id,wm_concat(name) from tab_name group by id; 二、sys_connect_by_path
【翻譯自mos中文文章】重建控制檔案的方法,mos重建重建控制檔案的方法參考原文:How to Recreate a Controlfile (Doc ID 735106.1)適用於:Oracle Database - Enterprise Edition - Version 9.0.1.0 and laterInformation in this document applies to any platform. 解決方案:警告:只有遇到下列情境時,你才應該recreate
自動產生AWR1(sql),自動產生awr1sql目前從網上搜尋到比較靠譜的2種AWR自動產生方法第一SQL法:參考sql連結:http://www.oracle-base.com/dba/10g/generate_multiple_awr_reports.sql-- ------------------------------------------------------------------------------------- File Name :
10.2.0.1.1 grid control的啟動和關閉,10.2.0.1.1grid一、Stopping Grid Control and All Its Components1.停止OMS服務[oracle@ocm2 oms10g]$ cd /u01/app/oracle/OracleHomes/oms10g/bin/[oracle@ocm2 bin]$ ./emctl stop omsOracle Enterprise Manager 10g Release 10.2.0.1.0
sql plus 搶救資料(測),sqlplus有索引--執行plsql指令碼DECLARE TYPE RowIDTab ISTABLE OF ROWID INDEXBY BINARY_INTEGER; CURSORc1 IS select /*+ index(xifenfei ind_xifenfei) */ rowid fromchf.xifenfei whereobject_id isNOT NULL; r