ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML

Cause : DDL operations like creation tables, views etc. and transaction control statements such as commit/rollback cannot be performed inside a query or a DML statement.

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

Ensure that the offending operation is not performed or use autonomous transactions to perform the operation within the query/DML operation.

update : 23-08-2017

ORA-14552 - cannot perform a DDL, commit or rollback inside a query or DML
ORA-14552 - cannot perform a DDL, commit or rollback inside a query or DML

  • ora-00359 : logfile group string does not exist
  • ora-36763 : (XSAGGCNTMOVE01) Aggregation variable workspace object cannot have itself as an AGGCOUNT.
  • ora-29400 : data cartridge error string
  • ora-16067 : activation identifier mismatch in archive log string
  • ora-07401 : sptrap: cannot restore user exception handlers.
  • ora-30512 : cannot modify string.string more than once in a transaction
  • ora-26064 : Invalid SCN specified - Wrap: string Base: string.
  • ora-39763 : stream must be completely loaded before it is reset
  • ora-01273 : STANDBY_FILE_MANAGEMENT = AUTO needs COMPATIBLE = string or higher
  • ora-08197 : Flashback Table operation is not supported on clustered tables
  • ora-09961 : Unable to restore termination signal handler
  • ora-12521 : TNS:listener does not currently know of instance requested in connect descriptor
  • ora-39099 : cannot create index for "string" on master table string
  • ora-00237 : snapshot operation disallowed: control file newly created
  • ora-36778 : (XSPGTRLOW) The amount of available temporary storage is still low. Free some temporary storage immediately. You can do so, for example, by UPDATING or DETACHING an analytic workspace.
  • ora-01524 : cannot create data file as 'string' - file already part of database
  • ora-13628 : Insufficient privileges to access the task belonging to the specified user
  • ora-19043 : Multiply nested XMLROOT function disallowed
  • ora-06000 : NETASY: port open failure
  • ora-31478 : could not detach LogMiner session after change set advance
  • ora-33269 : while operating on 'string'
  • ora-30448 : internal data of the advisor repository is inconsistent
  • ora-40203 : model string does not exist
  • ora-02352 : file truncated error
  • ora-19770 : invalid change tracking file name
  • ora-27068 : I/O buffer is not aligned properly
  • ora-09938 : Save of signal handlers failed.
  • ora-17500 : ODM err:string
  • ora-16164 : LGWR network server host detach error
  • ora-24431 : Statement does not exist in the cache
  • 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.