ORA-00904:  invalid column name 无效列名

ORA-00942:  table or view does not exist 表或者视图不存在

ORA-01400:  cannot insert NULL into () 不能将空值插入

ORA-00936: 缺少表达式

ORA-00933: SQL 命令未正确结束

ORA-01722: 无效数字:(一般可能是企图将字符串类型的值填入数字型而造成)

ORA-06530:  ACCESS_INTO_NULL 
      Your program attempts to assign values to the attributes of an uninitialized (atomically  null) object.
企图将值写入未初化对象的属性

ORA-06592:  CASE_NOT_FOUND
     None of th  choice  in the WHEN clauses of a CASE statement is selected,  and there is no  ELSE clause.
case语句格式有误,没有分支语句

ORA-06531:  COLLECTION_IS_NULL
     Your program attempts to apply collection methods othe  than EXIST  to an uninitialized(atomically  null) nested table or varray, or th  program attempts to assign values to the elements of an  uninitialized nested table  or  varray.
企图将集合填入未初始化的嵌套表中

ORA-06511:  CURSOR_ALREADY_OPEN
     Your program attempts to open an already open cursor. A cursor must be closed before it can  be reopened.  A cursor FOR loop automatically opens the cursor to which it refers. So, your  program cannot open that cursor inside  the  loop.
企图打开已经打开的指针.指针已经打开,要再次打开必须先关闭.

ORA-00001:  DUP_VAL_ON_INDEX
     Your program attempts to store duplicate values in a database column that is constrained by  a unique index.
数据库字段存储重复,主键唯一值冲突

ORA-01001:  INVALID_CURSOR 无效指针
    Your program attempts an illegal cursor operation such as closing an unopened cursor.
非法指针操作,例如关闭未打开的指针

ORA-01722:  INVALID_NUMBER 无效数字
     In a SQL statement, the conversion of a character string into a number fails because the  string does not represent a valid number. (In  procedural statements, VALUE_ERROR is raised.) This exception is also raised when the LIMIT-clause expression in a bulk FETCH  statement does not evaluate to a positive number.
在sql语句中,字符数字类型转换错误,无法将字符串转化成有效数字.此错误也可能因为在limit从句表达式中fetch语句无法对应指定数字

ORA-01017:  LOGIN_DENIED 拒绝访问
     Your program attempts to log on to Oracle with an invalid username and/or password.
企图用无效的用户名或密码登录oracle

ORA-01403:  NO_DATA_FOUND  无数据发现
     A SELECT INTO statement returns no rows, or your program references a deleted element in a  nested table  or an  uninitialized  element  in  an  index-by  table.  SQL  aggregate  functions  such  as  AVG  and  SUM  always  return  a value or a null.  So, a SELECT INTO statement that calls an aggregate function  never  raises  NO_DATA_FOUND. The FETCH statement is  expected to return no rows eventually, so when that happens, no exception is raised.
  
ORA-01012:  NOT_LOGGED_ON   未登录
     Your program issues  a database call without being connected to Oracle.
程序发送数据库命令,但未与oracle建立连接
  
ORA-06501:  PROGRAM_ERROR  程序错误
     PL/SQL  has  an  internal  problem.
pl/sql系统问题
  
ORA-06504:  ROWTYPE_MISMATCH  行类型不匹配
    The  host  cursor  variable  and  PL/SQL  cursor  variable  involved  in  an  assignment  have  incompatible  return  types.
For example, when an open host cursor variable is passed to a stored  subprogram, the return types of the actual and formal parameters must be compatible. 
  
ORA-30625:  SELF_IS_NULL  
     Your  program  attempts  to  call  a  MEMBER  method  on  a  null  instance.  That  is,  the  built-in  parameter  SELF (which  is  always  the  first  parameter  passed  to  a  MEMBER  method)  is  null.
  
ORA-06500:  STORAGE_ERROR  存储错误
     PL/SQL runs out of memory  or memory has been corrupted.
PL/SQL运行内存溢出或内存冲突
      
ORA-06533:  SUBSCRIPT_BEYOND_COUNT   子句超出数量
      Your program references a nested table or varray element using an index number larger than the number of elements in  the collection.
  
ORA-06532:  SUBSCRIPT_OUTSIDE_LIMIT   子句非法数量
Your program references a nested table or varray element using an index number (-1  for  example)  that  is outside  the  legal  range.
  
ORA-01410:  SYS_INVALID_ROWID   无效的字段名
   The conversion  of  a  character  string  into  a  universal  rowid  fails  because  the  character  string  does  not represent  a  valid  rowid. 
  
ORA-00051:  TIMEOUT_ON_RESOURCE    资源等待超时
A time-out occurs while Oracle is waiting for a resource. 
  
ORA-01422:  TOO_MANY_ROWS    返回超过一行
A SELECT INTO statement returns more  han one row.
  
ORA-06502:  VALUE_ERROR   值错误
An arithmetic, conversion, truncation, or size-constraint error occurs. For example, when  your program selects a column value into a character  variable, if the value is  longer  than  the  declared  length  of  the  variable, PL/SQL aborts the assignment and raises VALUE_ERROR.  In procedural statements,  VALUE_ERROR  is raised if the conversion of a character string into a number fails.  (In SQL statements, INVALID_NUMBER is raised.) 
  
ORA-01476:  ZERO_DIVIDE  除0错误
Your program attempts to divide a number by zero.

常见SQLException异常的更多相关文章

  1. java项目中常见的异常及处理

    Java开发中常见异常及处理方法 1.JAVA异常 异常指不期而至的各种状况,如:文件找不到.网络连接失败.非法参数等.异常是一个事件,它发生在程序运行期间,干扰了正常的指令流程.Java通 过API ...

  2. Java中常见的异常类型

    一. Java中常见的异常类 异常类 说明 ClassCastException 类型准换异常 ClassNotFoundException 未找到相应类异常 ArithmeticException ...

  3. java中常见的异常种类

    Java常见的异常种类 ------------------------------------------------------------------------------- java Exc ...

  4. 总结Selenium自动化测试方法(六)常见的异常错误处理

    六.常见的异常错误处理 NoSuchElementException: Message: Unable to locate element: {"method":"xpa ...

  5. 常见 Java 异常解释(恶搞版)

    常见 Java 异常解释:(译者注:非技术角度分析.阅读有风险,理解需谨慎o(╯□╰)o) java.lang ArithmeticException 你正在试图使用电脑解决一个自己解决不了的数学问题 ...

  6. Java中常见的异常__

    作为一名游戏开发者,程序员,很自然必须熟悉对程序的调试方法.而要调试程序,自然需要对程序中的常见的异常有一定的了解,这些日子很多朋友都提出了很多问题,都是关于游戏中的报错,因此在这里我将一些常见的程序 ...

  7. Django 常见的异常

    Django 常见的异常 1 'WSGIRequest' object has no attribute 'user' Django版本的问题,1.10之前,中间件的key为MIDDLEWARE_CL ...

  8. 【译】常见 Java 异常解释(恶搞版)

    常见 Java 异常解释:(译者注:非技术角度分析.阅读有风险,理解需谨慎o(╯□╰)o) java.lang ArithmeticException 你正在试图使用电脑解决一个自己解决不了的数学问题 ...

  9. Java开发中常见的异常问题

    要调试程序,自然需要对程序中的常见的异常有一定的了解,因此在这里我将一些常见的Java程序中的异常列举出来给大家参考 AD: 作为一名开发者,Java程序员,很自然必须熟悉对程序的调试方法.而要调试程 ...

随机推荐

  1. php7 安装 及和php5的共存

    http://blog.csdn.net/liuxinmingcode/article/details/50319145 LNMP FastCGI 是一个可伸缩地.高速地在HTTP server和动态 ...

  2. 历代诗词咏宁夏注释3----蔡升元:<题大清渠>

    题大清渠 蔡升元 为怜□□□□□,□□□□□□□. □□□□沙碛里,凿开峡口贺兰旁. 支分九堡通沟浍,鼎峙三渠并汉唐. 作吏尽如君任事,不难到处乐丰穰. 两渠中划大清渠,畚筑无劳民力纾.[1] 心画万 ...

  3. 控制台应用程序的Main方法

    总结一下Main方法规则: 1.Main 方法名大小写有规范. 2.Main 方法返回类型只有 void.int两种返回类型. 3.Main 方法的参数可以是string[] args,也可以为空,只 ...

  4. http://linuxme.blog.51cto.com/1850814/372960

    http://linuxme.blog.51cto.com/1850814/372960 http://os.51cto.com/art/201404/435129.htm

  5. JavaWeb项目开发案例精粹-第6章报价管理系统-04Service层

    1. package com.sanqing.service; import com.sanqing.dao.DAO; import com.sanqing.po.Customer; /** * 客户 ...

  6. 《jQuery风暴》第2章 必须知道的JavaScript知识

    第2章 必须知道的JavaScript知识 JavaScript是jQuery应用的基础,掌握JavaScript这门语言是使用jQuery的基础条件.本章不会全面细致的讲解JavaScript的全部 ...

  7. 文件格式PDF

    pdf(Portable Document Format的简称,意为“便携式文档格式”),是由Adobe Systems用于与应用程序.操作系统.硬件无关的方式进行文件交换所发展出的文件格式.PDF文 ...

  8. Tomcat常见内存溢出的解决办法

    PermGen space错误解决方法 在看下文之前,首先要确认意见事情,就是你是如何启动tomcat的,我们在平时的开发环境当中,都是通过startup.bat方式启动tomcat的,那么你按照下面 ...

  9. Android百度地图开发03之地图控制 + 定位

    前两篇关于百度地图的blog写的是,一些基本图层的展示 和 覆盖物的添加+地理编码和反地理编码. 接下来,这篇blog主要说一些关于地图控制方面的内容和定位功能. 百度地图提供的关于地图的操作主要有: ...

  10. CentOS下对Apache的中文乱码处理

    # vi /etc/sysconfig/i18nLANG="en_US.UTF-8"SYSFONT="latarcyrheb-sun16" 默认的语言是英文,如 ...