Where can I find a complete list of predefined Oracle pl/SQL Exceptions?

前端 未结 4 2139
情歌与酒
情歌与酒 2021-01-31 09:52

Where can I find a full list of all predefined Oracle pl/SQL Exceptions?

In this link i found this list, are there anymore?

ACCESS_INTO_NULL    ORA-06530         


        
4条回答
  •  误落风尘
    2021-01-31 10:54

    In addition to your question: what is the name of exception, risen when ORA-03135: connection lost contact error appears. How can I handle it?

    The solution is to define a new exception and associate it with an error code:

    exception connection_error;
    pragma exception_init(connection_error, -3135);
    
    ...
    
    exception
        when connection_error then
            ...
    

    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14261/exceptioninit_pragma.htm

提交回复
热议问题