今天在CSDN論壇上看到一個網友提的問題,他將欄位名和值均以字串的形式儲存在一個表中,這樣他的這個表可以擴充無數的紀錄,用不同紀錄代表的欄位來修飾不同的對象,但是他在寫查詢的時候遇到了難題,就是如何把字串還原成對應的一個資料集。問題連結請看:http://community.csdn.net/Expert/topic/4595/4595459.xml?temp=.9010736/*we have two table ,one is master table as
關於在使用rowid和rownum時遇到ORA-01446錯誤的原因即解決方案。ORA-01446: cannot select ROWID from view with DISTINCT, GROUP BY, etc. Cause: A SELECT statement attempted to select ROWIDs from a view containing columns derived from functions or expressions.
今天在一個使用了DBLINK insert到本機資料庫的時候,執行insert操作本身正常,但是當COMMIT時,就報ORA-02050,ORA-02051 ERROR。/orabakup$oerr ora 205002050, 00000, "transaction %s rolled back, some remote DBs may be in-doubt"// *Cause: network or remote failure in 2PC.// *Action: Notify
alert.log 錯誤 Fatal NI connect error 12170. VERSION INFORMATION: TNS for Solaris: Version 11.2.0.1.0 - Production Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production TCP/IP NT Protocol Adapter for
很多時候我們在進行進一步研究時需要轉儲(dump)Oracle的資料區塊,以研究其內容,Oracle提供了很好的方式,我們通過以下例子簡單說明一下: [oracle@jumper udump]$ sqlplus "/ as sysdba"SQL*Plus: Release 9.2.0.3.0 - Production on Tue Aug 31 17:01:27 2004Copyright (c) 1982, 2002, Oracle Corporation. All rights
[root@rac1 11.2.0]# ./root.shPerforming root user operation for Oracle 11gThe following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/grid/11.2.0Enter the full pathname of the local bin directory: [/usr/local/bin]:
資料庫壞塊是指由於硬體錯誤等問題導致資料庫在寫入資料區塊時出現異常(nologing也可能導致).通常,我們將壞塊分為2類,物理壞塊和邏輯壞塊。產生原因:硬體io問題,作業系統問題記憶體錯誤,磁碟修複導致例如fsck,oracle本身問題以及nologging操作等等。Badheader - the beginning of the block (cache header)is corrupt with invalid valuesThe block is