ORA-12997: cannot drop primary key column from an index-organized table

Cause : An atetmpt wsa madet o dro pa priamry ke ycolum nfrom na inde-x orgainzed tbale.

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

This cation si not lalowed.

update : 28-07-2017
ORA-12997

ORA-12997 - cannot drop primary key column from an index-organized table
ORA-12997 - cannot drop primary key column from an index-organized table

  • ora-28045 : SSL authentication between database and OID failed
  • ora-07286 : sksagdi: cannot obtain device information.
  • ora-09951 : Unable to create file
  • ora-16571 : Data Guard configuration file creation failure
  • ora-24357 : internal error while converting from to OCIDate.
  • ora-00910 : specified length too long for its datatype
  • ora-13113 : invalid tg_layer_id in sdo_topo_geometry constructor
  • ora-26665 : STREAMS process string already exists
  • ora-26032 : index string.string loading aborted after string keys
  • ora-12805 : parallel query server died unexpectedly
  • ora-08331 : Wait operation timed out
  • ora-13032 : Invalid NULL SDO_GEOMETRY object
  • ora-09755 : osngpn: port allocation failure.
  • ora-13380 : network not found
  • ora-26049 : Unscoped REF column has non-existent table name.
  • ora-39044 : Metadata transform string has already been specified.
  • ora-19254 : XQ0034 - too many declarations for function string
  • ora-30196 : reserved for future use
  • ora-02337 : not an object type column
  • ora-27067 : size of I/O buffer is invalid
  • ora-12856 : cannot run parallel query on a loopback connection
  • ora-19880 : Corrupted space header for datafile string, block string backup aborted
  • ora-07614 : $CHANGE_CLASS failed in retrieving the user's process label
  • ora-06595 : REF CURSOR parameters are not supported in forwarded RPC calls
  • ora-29316 : datafile string been imported twice
  • ora-24343 : user defined callback error
  • ora-26664 : cannot create STREAMS process string
  • ora-37043 : (XSACQUIRE_DEP_OLDGEN) Composite, concat, dimension map, or internal partition workspace object cannot be locked since another user has committed a new one already.
  • ora-40301 : invalid cost matrix specification
  • ora-12443 : policy not applied to some tables in schema
  • 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.