Inspect views, routines, and triggers
Inspect views, procedures, functions, table triggers, sequences and events through the entry actually offered for the selected engine.
When to use this
Use Procedures for supported database/schema routines and Triggers for one table, or inspect other object definitions through explicitly targeted SQL. Their save, run and delete boundaries differ.
Use this to read database logic, prepare a routine or trigger draft, or plan an intentional engine-specific change after checking its full definition and dependencies.
Before you start
Check connection, database, Schema and the actual server version. Definition visibility, create/replace/drop, routine execution and trigger privileges are separate; an enabled button is not a grant check. Use existing demo objects for inspection and keep full source before a planned replacement. All DM8 support depends on Python Wheel support from the DM8 vendor; follow-up is ongoing.
Steps
- Verify the target and choose the real entry: existing-table Edit table structure → Procedures for supported routines, or Triggers for that table. Views, sequences and scheduled events use engine-specific SQL Editor inspection.
- Read the definition without accepting the editable form. Compare parameter/return controls and object identity with the complete server source, especially across schemas or overloads.
- Prepare a new draft through Add Procedure or Triggers → Add. Cancel before OK to stop a routine or existing-table trigger write; Test Syntax only checks the routine payload/statement construction.
- If an approved change is intended, follow its own boundary: routine OK and existing-table trigger OK/Delete execute directly; new-table triggers stay staged until the main Save Changes → SQL Preview → Execute.
- Check genuine feedback and freshly read definitions after an intentional action. A listed object, formatted SQL, local history or simulated compatibility result is not proof of execution, persistence or trigger firing.
How to verify the result
Inspection exposes only what the engine/account returns. An unaccepted draft can be cancelled. A deliberate server change needs real feedback and a fresh definition read; a trigger also needs a separate approved event-behavior check if that outcome is being claimed.
Troubleshooting
- A tab/action is missing or disabled: check existing versus new table, engine/adapter and documented limits before checking account grants; the Database menu is not a fallback universal object manager.
- A definition is empty, parameters disappear or Return Type changes: stop before OK and inspect full server source. Do not save a guessed reconstruction.
- A PostgreSQL row names another Schema or an overload: align the actual parent namespace and inspect full identity through explicit SQL; do not trust the qualified list label as a detail-load guarantee.
- MySQL Edit reports an existing routine, or SQL Server function Execute/Delete fails: respect those path limits and review explicit engine SQL; do not delete an object merely to force the form to work.
- A save/recreation fails: inspect old and new objects before retrying, including any PostgreSQL companion trigger function. DDL rollback and restored grants/dependencies are not guaranteed.
- A history or syntax message looks successful: check whether it is local source storage, statement construction or simulation. Use actual operation feedback and a fresh server read for outcome claims.
Limits
- The six object kinds do not share one editor. Ordinary table trees are engine-specific; archive/migration definitions are not editable-object or execution support.
- Routine OK and existing-table trigger actions do not wait for the parent Save Changes. Closing or Discard does not roll them back; replacement/rename may drop before recreating.
- The routine form can omit signatures, simplify return types and lose attributes. PostgreSQL cross-schema details/overloads and SQL Server function Execute/Delete have specific limits.
- List Execute has no argument-value dialog and is not a universal result viewer. A function name does not guarantee a side-effect-free call; a trigger definition does not prove its body fired.
- SQLite routine compatibility is opt-in metadata/simulation, not native stored procedure execution. OceanBase MySQL disables routine UI; Snowflake omits routine/trigger tabs. MongoDB/Redis do not expose this relational form workflow.
- Source-only portable objects, enabled controls, payload validation and metadata listings do not establish a released build, complete workflow, permission, conversion or successful execution.