Our recent support for importing multiple CSV tables has revealed an interesting problem.
It doesn't seem possible at the moment to select multiple tables (nor indexes) in the DB Structure
tab. Deleting several hundred tables using the GUI looks challenging. :wink:

We should probably add support for selecting multiple table entries, even if it's just for the delete action.
Not sure if this would be tricky, easy, etc. Some possible interaction points in the code spring to mind when multiple tables are selected:
There might be others, but those two spring to mind. :smile:
Just FYI: while some "select tables to delete" functionality is still missing, you could use the manual SQL tab to do something like this:
SELECT 'DROP TABLE "' || name || '"' FROM sqlite_master;
This should give a list of all table names. Now go in a text editor, remove the table you dont want to delete from your db from this list, paste the list of drop tables into another sql field and go.
Good thinking. That sounds like it'd do the trick. :smile:
Most helpful comment
Just FYI: while some "select tables to delete" functionality is still missing, you could use the manual SQL tab to do something like this:
SELECT 'DROP TABLE "' || name || '"' FROM sqlite_master;This should give a list of all table names. Now go in a text editor, remove the table you dont want to delete from your db from this list, paste the list of drop tables into another sql field and go.