Oracle ORA-00600: [dmlsrvColLenChk_2:dty] 錯(cuò)誤原因及解決 |
| 發(fā)布時(shí)間: 2012/9/1 17:36:34 |
|
群里有人貼了一個(gè)錯(cuò)誤: ORA-00600: 內(nèi)部錯(cuò)誤代碼, 參數(shù):[dmlsrvColLenChk_2:dty], [2], [0], [16896], [], [], [], [], [], [], [], [] ORA-06512: 在 "IDBG17_DEV.ETL_LINK13_LLR_BRN", line 44 ORA-06512: 在 line 2 MOS 上搜了一下,有篇文章說明: ORA-00600: [dmlsrvColLenChk_2:dty], [2]During Insert [ID 437343.1] An insert statement fails with thefollowing error and stack trace: ORA-00600: internal error code, arguments:[dmlsrvColLenChk_2:dty], [2], [], [],[], [], [], [] Stack trace: ksedst ksedmp ksfdmp kgerinv kgeasnmierrdmlsrvColLenChk 一.導(dǎo)致這個(gè)錯(cuò)誤的原因: This is bug 5526494 whichis closed duplicate of base bug 6627733: Bug 5526494.-P Base Bug 6627733 Base Bug 6627733 This problem is introduced by the fix for Bug 3447792 . --這個(gè)問題由bug3447792 引入。 ORA-600 [dmlsrvColLenChk_2:dty] can occur when inserting NULL values into columns with character length semantics along with NULL into DATE or NUMERIC columns in an insert SQL. --當(dāng)把NULL 插入character 類型的字段時(shí),或者 將NULL 插入DATE,NUMBERIC 類型的字段時(shí)會(huì)發(fā)生ORA-600 [dmlsrvColLenChk_2:dty] 錯(cuò)誤。 eg:
二.解決方法: --bug 6627733 在10.2.0.5 11.1.0.7.0 和 12.1.0.0.0以后已經(jīng)修復(fù)。 To implement the solution, please downloadand apply Patch 6627733 if it is available for your platform. --為了解決這個(gè)問題,也可以應(yīng)用Patch 6627733. In some cases, a possible workaround is to alter the columns of typeVARCHAR2(nn CHAR) as shown in the example below. First identify table(s) involved in the failing query and then describe thetable(s). For example:
WORKAROUND: Example: 本文出自:億恩科技【www.xuefeilisp.com】 服務(wù)器租用/服務(wù)器托管中國五強(qiáng)!虛擬主機(jī)域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |
京公網(wǎng)安備41019702002023號