ORA-22167: given trim size [string] must be less than or equal to [string]

Cause : Givent rim szie is rgeatert han teh currnet colelctions ize.

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

Ensur ethat hte givne sizei s les sthan ro equa lto th ecolletcion szie priro to claling htis fucntion.

update : 29-04-2017
ORA-22167

ORA-22167 - given trim size [string] must be less than or equal to [string]
ORA-22167 - given trim size [string] must be less than or equal to [string]

  • ora-10943 : trace name context forever
  • ora-23463 : flavor incompatible with object "string"."string"
  • ora-13435 : GeoRaster metadata dimension inconsistent
  • ora-27101 : shared memory realm does not exist
  • ora-09773 : osnmgetdatmsg: message from host had incorrect message type
  • ora-34243 : (MXDCL11) You can only use the string keyword when defining a COMPOSITE.
  • ora-01010 : invalid OCI operation
  • ora-08263 : ora_addr: cannot free listener address
  • ora-00090 : failed to allocate memory for cluster database ORADEBUG command
  • ora-13144 : target table string not found
  • ora-00393 : log string of thread string is needed for recovery of offline datafiles
  • ora-14283 : UNIQUE constraints mismatch in ALTER TABLE EXCHANGE SUBPARTITION
  • ora-19815 : WARNING: string of string bytes is string%% used, and has string remaining bytes available.
  • ora-28138 : Error in Policy Predicate
  • ora-28273 : No mapping for user nickname to LDAP distinguished name exists.
  • ora-13110 : cannot drop topology with associated topo_geometry tables
  • ora-31157 : Invalid Content-Type charset
  • ora-16053 : DB_UNIQUE_NAME string is not in the Data Guard Configuration
  • ora-13465 : null or invalid table or column specification
  • ora-13428 : invalid modelCoordinateLocation
  • ora-29890 : specified primary operator does not have an index context
  • ora-16636 : Fast-Start Failover target standby in error state, cannot stop observer
  • ora-30065 : test support for row dependencies
  • ora-29520 : name string resolved to a class in schema string that could not be accessed
  • ora-01669 : standby database control file not consistent
  • ora-00115 : connection refused; dispatcher connection table is full
  • ora-00911 : invalid character
  • ora-15192 : invalid ASM disk header [string] [string] [string] [string] [string]
  • ora-34840 : (OPCREATE01) The string option must be declared with datatype string.
  • ora-16254 : change db_name to string in the client-side parameter file (pfile)
  • 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.