DROP DATABASE statement cannot be used inside a user transaction



“DROP DATABASE statement cannot be used inside a user transaction”


You may receive this error message when you try to delete a database with the “DROP DATABASE” command.


If you receive this error message, Transaction in the session where you run this command has remained open. Use the ROLLBACK or COMMIT commands to end this Transaction, or another session, and run the ’DROP DATABASE komut command again.

Ekrem Önsoy
Author: Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

Your email address will not be published. Required fields are marked *