Clean up work tables
cleanup_work_tablesScan SingleStore databases for leftover SAS work and temporary tables, review details like age, size, and dependencies, then drop selected tables safely from the Clean-up panel.
Instructions
Open the Schema Explorer's Clean-up panel for leftover SAS work tables.
SAS jobs leave work tables behind in SingleStore (SAS Data Management
``_dm…`` tables, SAS flow ``_flw…`` tables, ``SASTMP…`` / ``_tmp…``). The
panel scans every non-system database by name pattern (editable, and
optionally every table older than N days) and shows per table its rows,
size, creator, age, last use in the query history and dependent views.
The user selects tables, confirms, and they are dropped one by one (with a
dry-run mode and a log). Nothing is dropped by this call; only the user
can drop from the panel. Use this when the user wants to find or clean up
leftover, temporary or SAS work tables.
The result includes ``browser_url``, which opens this view full-window in
the user's browser: post it as a clickable link right under the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||