Вопрос

I've setup a Komodo remote database server with a MySQL plugin loaded and I want to empty a table. I select the table and change to the "query" tab in the MySQL plugin, but when I run "truncate table;" it does nothing. I've allowed deletion of the "full table", but I cannot delete all selected rows in the "full table" either. It gives me a KeyError: 150 or KeyError: 84?

Это было полезно?

Решение

Use DELETE or remove any foreign key constraints or checks before attempting to TRUNCATE.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top