亚洲综合社区欧美综合色-欧美逼逼一区二区三区-国产老熟女高潮精品网站-国产日韩最新视频在线看

始創(chuàng)于2000年 股票代碼:831685
咨詢(xún)熱線:0371-60135900 注冊(cè)有禮 登錄
  • 掛牌上市企業(yè)
  • 60秒人工響應(yīng)
  • 99.99%連通率
  • 7*24h人工
  • 故障100倍補(bǔ)償
全部產(chǎn)品
您的位置: 網(wǎng)站首頁(yè) > 幫助中心>文章內(nèi)容

Oracle 標(biāo)準(zhǔn)預(yù)定義異常

發(fā)布時(shí)間:  2012/9/19 17:00:12

異定義異常就是那些在pl/sql中已經(jīng)定義好并給予了異常名稱(chēng)的異常。它們?nèi)糠旁趐l/sql自帶的標(biāo)準(zhǔn)包中,這樣pl/sql程序員就無(wú)需再次定義。

Oracle中總共有如下21種標(biāo)準(zhǔn)預(yù)定義異常:


Oracle異常名稱(chēng)
 錯(cuò)誤號(hào)
 說(shuō)明
 
DUP_VAL_ON_INDEX
 ORA-00001
 You tried to execute an INSERT or UPDATE statement that has created a duplicate value in a field restricted by a unique index.試圖破壞一個(gè)唯一性限制
 
TIMEOUT_ON_RESOURCE
 ORA-00051
 You were waiting for a resource and you timed out.在等待資源時(shí)發(fā)生超時(shí)
 
TRANSACTION_BACKED_OUT
 ORA-00061
 The remote portion of a transaction has rolled back.由于發(fā)生死鎖事務(wù)被撤消
 
INVALID_CURSOR
 ORA-01001
 You tried to reference a cursor that does not yet exist. This may have happened because you’ve executed a FETCH cursor or CLOSE cursor before OPENing the cursor.試圖使用一個(gè)未打開(kāi)的游標(biāo)
 
NOT_LOGGED_ON
 ORA-01012
 You tried to execute a call to Oracle before logging in.沒(méi)有連接到ORACLE
 
LOGIN_DENIED
 ORA-01017
 You tried to log into Oracle with an invalid username/password combination.無(wú)效的用戶(hù)名/口令
 
NO_DATA_FOUND
 ORA-01403
 SELECT INTO沒(méi)有找到數(shù)據(jù)You tried one of the following:

You executed a SELECT INTO statement and no rows were returned.You referenced an uninitialized row in a table.You read past the end of file with the UTL_FILE package.
TOO_MANY_ROWS
 ORA-01422
 SELECT INTO 返回多行You tried to execute a SELECT INTO statement and more than one row was returned.
 
ZERO_DIVIDE
 ORA-01476
 試圖被零除You tried to divide a number by zero.
 
INVALID_NUMBER
 ORA-01722
 轉(zhuǎn)換一個(gè)數(shù)字失敗You tried to execute an SQL statement that tried to convert a string to a number, but it was unsuccessful.
 
STORAGE_ERROR
 ORA-06500
 內(nèi)存不夠或內(nèi)存被破壞引發(fā)的內(nèi)部錯(cuò)誤You ran out of memory or memory was corrupted.
 
PROGRAM_ERROR
 ORA-06501
 內(nèi)部錯(cuò)誤,需重新安裝數(shù)據(jù)字典視圖和pl/sql包This is a generic “Contact Oracle support” message because an internal problem was encountered.
 
VALUE_ERROR
 ORA-06502
 賦值操作,變量長(zhǎng)度不足,觸發(fā)該異常You tried to perform an operation and there was a error on a conversion, truncation, or invalid constraining of numeric or character data.
 
ROWTYPE_MISMATCH
 ORA-6504
 宿主游標(biāo)變量與 PL/SQL變量有不兼容行類(lèi)型
 
CURSOR_ALREADY_OPEN
 ORA-06511
 試圖打開(kāi)一個(gè)已打開(kāi)的游標(biāo)You tried to open a cursor that is already open.
 
ACCESS_INTO_NULL
 ORA-6530
 試圖為null 對(duì)象的屬性賦值
 
COLLECTION_IS_NULL
 ORA-6531
 試圖給沒(méi)有初始化的嵌套表變量或者Varry變量賦值
 
SUBSCRIPT_OUTSIDE_LIMIT
 ORA-6532
 對(duì)嵌套或varray索引使用了負(fù)數(shù)
 
SUBSCRIPT_BEYOND_COUNT
 ORA-6533
 對(duì)嵌套或varray索引的引用大于集合中元素的個(gè)數(shù)
 


 


本文出自:億恩科技【1tcdy.com】

服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經(jīng)營(yíng)性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經(jīng)營(yíng)性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經(jīng)營(yíng)性ICP/ISP證:贛B2-20080012
  • 服務(wù)器/云主機(jī) 24小時(shí)售后服務(wù)電話:0371-60135900
  • 虛擬主機(jī)/智能建站 24小時(shí)售后服務(wù)電話:0371-60135900
  • 專(zhuān)注服務(wù)器托管17年
    掃掃關(guān)注-微信公眾號(hào)
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號(hào)總部企業(yè)基地億恩大廈  法律顧問(wèn):河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號(hào)
      0
     
     
     
     

    0371-60135900
    7*24小時(shí)客服服務(wù)熱線