{"id":1694,"date":"2016-02-20T11:09:41","date_gmt":"2016-02-20T08:09:41","guid":{"rendered":"http:\/\/www.fatihacar.com\/blog\/?p=1694"},"modified":"2016-10-19T11:13:22","modified_gmt":"2016-10-19T08:13:22","slug":"oracle-11g-error-codes-and-solution-suggestions-from-ora-01401-to-ora-01500","status":"publish","type":"post","link":"https:\/\/www.fatihacar.com\/blog\/oracle-11g-error-codes-and-solution-suggestions-from-ora-01401-to-ora-01500\/","title":{"rendered":"Oracle 11g Error Codes and Solution Suggestions from ORA-01401 to ORA-01500"},"content":{"rendered":"<p><strong>Oracle 11g Error Codes and Solution Suggestions from ORA-01401 to ORA-01500<\/strong><\/p>\n<p><strong>ORA-01409: NOSORT option may not be used; rows are not in ascending order<\/strong><\/p>\n<p><strong>Cause:<\/strong> Creation of index with NOSORT option when rows were not ascending. For non-unique indexes the rowid is considered part of the index key. Therefore, if you create an index nosort and two of the rows in the table have the same key and are stored in ascending order, but get split accross two extents where the dba of the first block in the second extent is less than the dba of the last block in the first extent, then the create index nosort may fail.<\/p>\n<p><strong>Action:<\/strong> Create the index without the NOSORT option, or ensure table is stored in one extent.<\/p>\n<p><strong>ORA-01411: cannot store the length of column in the indicator<\/strong><\/p>\n<p><strong>Cause:<\/strong> Tried to fetch a column of size more than 64K and couldn&#8217;t store the length of the column in the given indicator of size 2 bytes.<\/p>\n<p><strong>Action:<\/strong> Use the new bind type with call backs to fetch the long column.<\/p>\n<p><strong>ORA-01412: zero length not allowed for this datatype<\/strong><\/p>\n<p><strong>Cause:<\/strong> The length for type 97 is 0<\/p>\n<p><strong>Action:<\/strong> Specify the correct length.<\/p>\n<p><strong>ORA-01413: illegal value in packed decimal number buffer<\/strong><\/p>\n<p><strong>Cause:<\/strong> The user buffer bound by the user as packed decimal number contained an illegal value.<\/p>\n<p><strong>Action:<\/strong> Use a legal value.<\/p>\n<p><strong>ORA-01414: invalid array length when trying to bind array<\/strong><\/p>\n<p><strong>Cause:<\/strong> An attempt was made to bind an array without either a current array length pointer or a zero maximum array length.<\/p>\n<p><strong>Action:<\/strong> Sepcify a valid length.<br \/>\n<!--more--><\/p>\n<p><strong>ORA-01415: too many distinct aggregate functions<\/strong><\/p>\n<p><strong>Cause:<\/strong> The query contains more distinct aggregates than can be processed. The current limit is 255.<\/p>\n<p><strong>Action:<\/strong> Reduce the number of distinct aggregate functions in the query.<\/p>\n<p><strong>ORA-01417: a table may be outer joined to at most one other table<\/strong><\/p>\n<p><strong>Cause:<\/strong> a.b (+) = b.b and a.c (+) = c.c is not allowed<\/p>\n<p><strong>Action:<\/strong> Check that this is really what you want, then join b and c first in a view.<\/p>\n<p><strong>ORA-01422: exact fetch returns more than requested number of rows<\/strong><\/p>\n<p><strong>Cause:<\/strong> The number specified in exact fetch is less than the rows returned.<\/p>\n<p><strong>Action:<\/strong> Rewrite the query or change number of rows requested<\/p>\n<p><strong>ORA-01424: missing or illegal character following the escape character<\/strong><\/p>\n<p><strong>Cause:<\/strong> The character following the escape character in LIKE pattern is missing or not one of the escape character, &#8216;%&#8217;, or &#8216;_&#8217;.<\/p>\n<p><strong>Action:<\/strong> Remove the escape character or specify the missing character.<\/p>\n<p><strong>ORA-01425: escape character must be character string of length 1<\/strong><\/p>\n<p><strong>Cause:<\/strong> Given escape character for LIKE is not a character string of length 1.<\/p>\n<p><strong>Action:<\/strong> Change it to a character string of length 1.<\/p>\n<p><strong>ORA-01426: numeric overflow<\/strong><\/p>\n<p><strong>Cause:<\/strong> Evaluation of an value expression causes an overflow\/underflow.<\/p>\n<p><strong>Action:<\/strong> Reduce the operands.<\/p>\n<p><strong>ORA-01429: Index-Organized Table: no data segment to store overflow row-pieces<\/strong><\/p>\n<p><strong>Cause:<\/strong> No overflow segment defined.<\/p>\n<p><strong>Action:<\/strong> Add overflow segment.<\/p>\n<p><strong>ORA-01438: value larger than specified precision allowed for this column<\/strong><\/p>\n<p><strong>Cause:<\/strong> When inserting or updating records, a numeric value was entered that exceeded the precision defined for the column.<\/p>\n<p><strong>Action:<\/strong> Enter a value that complies with the numeric column&#8217;s precision, or use the MODIFY option with the ALTER TABLE command to expand the precision.<\/p>\n<p><strong>ORA-01451: column to be modified to NULL cannot be modified to NULL<\/strong><\/p>\n<p><strong>Cause:<\/strong> the column may already allow NULL values, the NOT NULL constraint is part of a primary key or check constraint.<\/p>\n<p><strong>Action:<\/strong> if a primary key or check constraint is enforcing the NOT NULL constraint, then drop that constraint.<\/p>\n<p><strong>ORA-01453: SET TRANSACTION must be first statement of transaction<\/strong><\/p>\n<p><strong>Cause:<\/strong> self-evident<\/p>\n<p><strong>Action:<\/strong> commit (or rollback) transaction, and re-execute<\/p>\n<p><strong>ORA-01456: may not perform insert\/delete\/update operation inside a READ ONLY transaction<\/strong><\/p>\n<p><strong>Cause:<\/strong> A non-DDL insert\/delete\/update or select for update operation was attempted<\/p>\n<p><strong>Action:<\/strong> commit (or rollback) transaction, and re-execute<\/p>\n<p><strong>ORA-01463: cannot modify column datatype with current constraint(s)<\/strong><\/p>\n<p><strong>Cause:<\/strong> An attempt was made to modify the datatype of column which has referential constraints; or has check constraints which only allows changing the datatype from CHAR to VARCHAR or vise versa.<\/p>\n<p><strong>Action:<\/strong> Remove the constraint(s) or do not perform the offending operation.<\/p>\n<p><strong>ORA-01466: unable to read data &#8211; table definition has changed<\/strong><\/p>\n<p><strong>Cause:<\/strong> Query parsed after tbl (or index) change, and executed w\/old snapshot<\/p>\n<p><strong>Action:<\/strong> commit (or rollback) transaction, and re-execute<\/p>\n<p><strong>ORA-01469: PRIOR can only be followed by a column name<\/strong><\/p>\n<p><strong>Cause:<\/strong> Attempting to specify &#8220;PRIOR <something>&#8221; where <something> is not a column name.<\/p>\n<p><strong>Action:<\/strong> Only a column name can follow PRIOR. Replace with a column name.<\/p>\n<p><strong>ORA-01470: In-list iteration does not support mixed operators<\/strong><\/p>\n<p><strong>Cause:<\/strong> Constants of different types are specified in an in-list.<\/p>\n<p><strong>Action:<\/strong> Use constants of same type for in-lists.<\/p>\n<p><strong>ORA-01478: array bind may not include any LONG columns<\/strong><\/p>\n<p><strong>Cause:<\/strong> User is performing an array bind with a bind variable whose maximum size is greater than 2000 bytes.<\/p>\n<p><strong>Action:<\/strong> Such bind variables cannot participate in array binds. Use an ordinary bind operation instead.<\/p>\n<p><strong>ORA-01479: last character in the buffer is not Null<\/strong><\/p>\n<p><strong>Cause:<\/strong> A bind variable of type 97 does not contain null at the last position<\/p>\n<p><strong>Action:<\/strong> Make the last character null<\/p>\n<p><strong>ORA-01480: trailing null missing from STR bind value<\/strong><\/p>\n<p><strong>Cause:<\/strong> A bind variable of type 5 (null-terminated string) does not contain the terminating null in its buffer.<\/p>\n<p><strong>Action:<\/strong> Terminate the string with a null character<\/p>\n<p><strong>ORA-01481: invalid number format model<\/strong><\/p>\n<p><strong>Cause:<\/strong> The user is attempting to either convert a number to a string via TO_CHAR or a string to a number via TO_NUMBER and has supplied an invalid number format model parameter.<\/p>\n<p><strong>Action:<\/strong> Consult your manual.<\/p>\n<p><strong>ORA-01482: unsupported character set<\/strong><\/p>\n<p><strong>Cause:<\/strong> The character set used to perform the operation, such as the CONVERT function, is not a supported character set.<\/p>\n<p><strong>Action:<\/strong> Use one of the supported character sets.<\/p>\n<p><strong>ORA-01483: invalid length for DATE or NUMBER bind variable<\/strong><\/p>\n<p><strong>Cause:<\/strong> A bind variable of type DATE or NUMBER is too long.<\/p>\n<p><strong>Action:<\/strong> Consult your manual for the maximum allowable length.<\/p>\n<p><strong>ORA-01484: arrays can only be bound to PL\/SQL statements<\/strong><\/p>\n<p><strong>Cause:<\/strong> You tried to bind an array to a non-PL\/SQL statement.<\/p>\n<p><strong>Action:<\/strong> None<\/p>\n<p><strong>ORA-01485: compile bind length different from execute bind length<\/strong><\/p>\n<p><strong>Cause:<\/strong> You bound a buffer of type DTYVCS (VARCHAR with the two byte length in front) and at execute time the length in the first two bytes is more than the maximum buffer length (given in the bind call). The number of elements in the array and the current number of elements in the array cannot be more than the maximum size of the array.<\/p>\n<p><strong>Action:<\/strong> None<\/p>\n<p><strong>ORA-01486: size of array element is too large<\/strong><\/p>\n<p><strong>Cause:<\/strong> You tried to bind a data value which was either too large for the datatype (for example, NUMBER) or was greater than 4000 bytes (for example, VARCHAR or LONG).<\/p>\n<p><strong>Action:<\/strong> None<\/p>\n<p><strong>ORA-01487: packed decimal number too large for supplied buffer<\/strong><\/p>\n<p><strong>Cause:<\/strong> An impossible request for decimal to oracle number conversion was made<\/p>\n<p><strong>Action:<\/strong> This conversion cannot be performed<\/p>\n<p><strong>ORA-01488: invalid nibble or byte in the input data<\/strong><\/p>\n<p><strong>Cause:<\/strong> An impossible request for decimal to oracle number conversion was made<\/p>\n<p><strong>Action:<\/strong> This conversion cannot be performed<\/p>\n<p><strong>ORA-01489: result of string concatenation is too long<\/strong><\/p>\n<p><strong>Cause:<\/strong> String concatenation result is more than the maximum size.<\/p>\n<p><strong>Action:<\/strong> Make sure that the result is less than the maximum size.<\/p>\n<p><strong>ORA-01490: invalid ANALYZE command<\/strong><\/p>\n<p><strong>Cause:<\/strong> Incorrect syntax specified<\/p>\n<p><strong>Action:<\/strong> Retry the command<\/p>\n<p><strong>ORA-01491: CASCADE option not valid<\/strong><\/p>\n<p><strong>Cause:<\/strong> The CASCADE option is only valid for tables or clusters.<\/p>\n<p><strong>Action:<\/strong> Do not specify CASCADE<\/p>\n<p><strong>ORA-01492: LIST option not valid<\/strong><\/p>\n<p><strong>Cause:<\/strong> The LIST option is only valid for tables or clusters.<\/p>\n<p><strong>Action:<\/strong> Do not specify LIST<\/p>\n<p><strong>ORA-01493: invalid SAMPLE size specified<\/strong><\/p>\n<p><strong>Cause:<\/strong> The specified SAMPLE size is out of range<\/p>\n<p><strong>Action:<\/strong> Specify a value within the proper range.<\/p>\n<p><strong>ORA-01494: invalid SIZE specified<\/strong><\/p>\n<p><strong>Cause:<\/strong> The specified histogram SIZE value was out of range.<\/p>\n<p><strong>Action:<\/strong> Specify a value within the proper range.<\/p>\n<p><strong>ORA-01495: specified chain row table not found<\/strong><\/p>\n<p><strong>Cause:<\/strong> The specified table either does not exist or user does not have the proper privleges.<\/p>\n<p><strong>Action:<\/strong> Specify the correct table to use.<\/p>\n<p><strong>ORA-01496: specified chain row table form incorrect<\/strong><\/p>\n<p><strong>Cause:<\/strong> The specified table does not have the proper field definitions.<\/p>\n<p><strong>Action:<\/strong> Specify the correct table to use.<\/p>\n<p><strong>ORA-01497: illegal option for ANALYZE CLUSTER<\/strong><\/p>\n<p><strong>Cause:<\/strong> The FOR COLUMNS <column-list> clause may not be used with ANALYZE CLUSTER.<\/p>\n<p><strong>Action:<\/strong> Retry with a legal syntax.<\/p>\n<p><strong>ORA-01500: failure in getting date\/time<\/strong><\/p>\n<p><strong>Cause:<\/strong> During create database or alter tablespace, there was a failure in getting the date and time.<\/p>\n<p><strong>Action:<\/strong> Contact your customer support representative.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle 11g Error Codes and Solution Suggestions from ORA-01401 to ORA-01500 ORA-01409: NOSORT option may not be used; rows are not in ascending order Cause: Creation of index with NOSORT option when rows were not ascending. For non-unique indexes the rowid is considered part of the index key. Therefore, if you create an index nosort&#8230;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53],"tags":[14,32,54],"class_list":["post-1694","post","type-post","status-publish","format-standard","hentry","category-oracle-errors-and-solutions","tag-database-administration","tag-oracle-administration","tag-oracle-error-solutions"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-rk","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=1694"}],"version-history":[{"count":1,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/1694\/revisions"}],"predecessor-version":[{"id":1695,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/1694\/revisions\/1695"}],"wp:attachment":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=1694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=1694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}