Site icon Database Tutorials

DROP DATABASE statement cannot be used inside a user transaction

 

ERROR MESAGGE:

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

EXPLANATION:

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

SOLUTION:

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.

Exit mobile version