Common SqlException Anomalies

Source: Internet
Author: User
Tags case statement

Ora-00904:invalid Column name is invalid

Ora-00942:table or view does not exist tables or views do not exist

Ora-01400:cannot insert null into () cannot insert a null value

ORA-00936: Missing An expression

Ora-00933:sql command did not end correctly

ORA-01722: Invalid number: (It is generally possible to attempt to fill the value of a string type into a numeric type)

Ora-06530:access_into_null
Your program attempts to assign values to the attributes of an uninitialized (atomically null) object.
An attempt to write a value to a property of an object that is not initialized

Ora-06592:case_not_found
None of th choice in the IF clauses of a case statement are selected, and there is no ELSE clause.
Case statement is malformed, no branch statement

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.
Attempt to populate a collection in an uninitialized nested table

Ora-06511:cursor_already_open
Your program attempts to open an already open cursor.  A cursor must is closed before it can be reopened. A cursor for loop automatically opens the cursor to which it refers. So, your program cannot open, the cursor inside the loop.
An attempt was made to open a pointer that has already been opened. The pointer is already open and must be closed before it can be opened again.

Ora-00001:dup_val_on_index
Your program attempts to store duplicate values in a database column, is constrained by a unique index.
Database field store duplicates, primary key unique values conflict

Ora-01001:invalid_cursor Invalid pointer
Your program attempts a illegal cursor operation such as closing an unopened cursor.
Illegal pointer operation, such as closing an open pointer

Ora-01722:invalid_number Invalid number
In a SQL statement, the conversion of a character string to a number fails because the string does not represent a Vali D number. (In procedural statements, Value_error is raised.) This exception was also raised when the limit-clause expression in a bulk FETCH statement does not evaluate to a positive Number.
In the SQL statement, the character number type is converted incorrectly and the string cannot be converted to a valid number. This error may also be caused by a fetch statement in the LIMIT clause expression that does not correspond to the specified number

Ora-01017:login_denied Deny access
Your program attempts to log on to Oracle with an invalid username and/or password.
Attempt to log in to Oracle with an invalid user name or password

Ora-01403:no_data_found No data found
A SELECT into statement returns no rows, or your program references a deleted element with a nested table or an uninitial  ized element in an index-by table.  SQL aggregate functions such as AVG and SUM always return a value or a null. So, a SELECT to statement that calls an aggregate function never raises no_data_found. The FETCH statement is expected to return No. rows eventually, so when this happens, no exception is raised.

Ora-01012:not_logged_on not logged in
Your program issues a database call without being connected to Oracle.
The program sends a database command, but does not establish a connection with Oracle

Ora-06501:program_error program Error
PL/SQL has an internal problem.
PL/SQL system problems

Ora-06504:rowtype_mismatch row types do not match
The host cursor variable and PL/SQL cursor variable involved in an assignment has incompatible return type S.
For example, when an open host cursor variable is passed to a stored subprogram, the return types of the actual and forma L parameters must be compatible.

Ora-30625:self_is_null
Your program attempts to call a MEMBER method on a null instance. That's, the built-in parameter self (which are always the first parameter passed to a MEMBER method) is n Ull.

Ora-06500:storage_error Storage Error
PL/SQL runs out of memory or memory have been corrupted.
PL/SQL running memory overflow or memory conflicts

Ora-06533:subscript_beyond_count clause exceeds quantity
Your program references a nested table or Varray element using a index number larger than the number of elements in the Collection.

Ora-06532:subscript_outside_limit clause Illegal quantity
Your program references a nested table or Varray element using a index number ( -1 for example) that's outside the Legal range.

Ora-01410:sys_invalid_rowid Invalid field name
The conversion of a character string into a universal rowID fails because the character string does not rep Resent a valid ROWID.

Ora-00051:timeout_on_resource Resource Wait Timeout
A time-out occurs while Oracle was waiting for a resource.

Ora-01422:too_many_rows returns more than one row
A SELECT to statement returns more Han one row.

Ora-06502:value_error Value Error
An arithmetic, conversion, truncation, or size-constraint error occurs. For example while your program selects a column value to a character variable if the value is longer than the DEC  lared length of the variable, PL/SQL aborts the assignment and raises value_error.  In procedural statements, Value_error was raised if the conversion of a character string into a number fails. (in SQL statements, Invalid_number is raised.)

Ora-01476:zero_divide except 0 error
Your program attempts to divide a number by zero.

Common SqlException Anomalies

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.