ORA-29253: Invalid count argument passed to procedure dbms_sql.define_array

Cause : The count argument specified in the call to procedure define_array of package dbms_sql had an invalid value. Invalid values are negative numbers and nulls. The argument must be a positive integer.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Correct your PL/SQL program so that only valid arguments are passed to define_array and try again.

update : 21-09-2017
ORA-29253

ORA-29253 - Invalid count argument passed to procedure dbms_sql.define_array
ORA-29253 - Invalid count argument passed to procedure dbms_sql.define_array

  • ora-12216 : TNS:poorly formed PREFERRED_CMANAGERS addresses in TNSNAV.ORA
  • ora-02338 : missing or invalid column constraint specification
  • ora-22275 : invalid LOB locator specified
  • ora-38862 : FLASHBACK DATABASE in progress
  • ora-16627 : operation disallowed since no standby databases would remain to support protection mode
  • ora-30649 : missing DIRECTORY keyword
  • ora-24059 : invalid COMPATIBLE parameter setting string specified in DBMS_AQADM.string
  • ora-22930 : directory does not exist
  • ora-07419 : sfareq: Database writer got error in timing function.
  • ora-38749 : A media recovery has been started.
  • ora-13147 : failed to generate MBR
  • ora-13039 : failed to update spatial index for element string.string.string
  • ora-06449 : The list IO or the sysvendor is not installed.
  • ora-28157 : Proxy user 'string' forbidden to set role 'string' for client 'string'
  • ora-26025 : SKIP_INDEX_MAINTENANCE option requested
  • ora-27064 : cannot perform async I/O to file
  • ora-09749 : pws_look_up: port lookup failure
  • ora-36272 : (XSCGMDLAGG04) 'workspace object' is not a valid operator for the AGGREGATION function.
  • ora-30557 : function based index could not be properly maintained
  • ora-00102 : network protocol string cannot be used by dispatchers
  • ora-19257 : XQ0037 - function or variable string in module already defined
  • ora-02807 : Allocation of memory for I/O vectors failed.
  • ora-00448 : normal completion of background process
  • ora-30353 : expression not supported for query rewrite
  • ora-38732 : Expected file size string does not match string.
  • ora-29269 : HTTP server error string
  • ora-29323 : ALTER DATABASE SET COMPATIBILITY command not supported by string
  • ora-23383 : registration for materialized view repgroup "string"."string" failed at site string
  • ora-01862 : the numeric value does not match the length of the format item
  • ora-31472 : Importing Change Data Capture version string.string is too new
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.