schema_explorer_cleanup_drop
Drops selected work tables one at a time for cleanup, re-checking each, refusing system databases, and handling dependent views. Use dry_run to preview DROP TABLE IF EXISTS statements with no changes.
Instructions
Drop the selected work tables one statement at a time (DROP TABLE IF EXISTS), for the Clean-up panel.
Re-checks each table on the server; system databases are refused and a table
with a dependent view is skipped unless that view is listed in ``views``
(it is then dropped first). With ``dry_run`` only the statements are returned.
Args:
tables: [{"database": "SASDP", "name": "_dmallchars"}, ...]
views: Dependent views to drop as well, same shape.
dry_run: Only show the statements; drop nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| views | No | ||
| tables | Yes | ||
| dry_run | No |