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 : 28-07-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-16194 : Modifying DB_UNIQUE_NAME requires SID='*' qualifier
  • ora-01242 : data file suffered media failure: database in NOARCHIVELOG mode
  • ora-13830 : SQL profile with category string already exists for this SQL statement
  • ora-37115 : New OLAP API history is not allowed
  • ora-01296 : character set mismatch between dictionary string and logfiles
  • ora-03210 : DBMS_ADMIN_PACKAGE invalid option specification
  • ora-14043 : only one partition may be added
  • ora-27193 : sbtinfo2 did not return volume label
  • ora-12092 : cannot online redefine replicated table "string"."string"
  • ora-30676 : socket read or write failed
  • ora-38784 : Cannot create restore point 'string'.
  • ora-08312 : sllfop: unrecognized processing option
  • ora-01637 : rollback segment 'string' is being used by another instance (#string)
  • ora-23364 : Feature not enabled: Advanced replication
  • ora-27491 : repeat_interval and start_date cannot both be NULL
  • ora-13441 : GeoRaster metadata SRS error
  • ora-12856 : cannot run parallel query on a loopback connection
  • ora-31014 : Attempted to delete the root container
  • ora-13220 : failed to compare tile with the geometry
  • ora-38908 : internal error occurred during DML Error Logging
  • ora-01926 : cannot GRANT to a role WITH GRANT OPTION
  • ora-38453 : ExpFilter index should be created in the same schema as the base table.
  • ora-01254 : cannot end online backup - file string in recovery manager backup
  • ora-24327 : need explicit attach before authenticating a user
  • ora-14511 : cannot perform operation on a partitioned object
  • ora-26706 : cannot downgrade capture process
  • ora-31007 : Attempted to delete non-empty container string/string
  • ora-16794 : database guard is on for primary database
  • ora-22303 : type "string"."string" not found
  • ora-25115 : duplicate BLOCK option specification
  • 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.