Database Views, Routines and Triggers
Inspect views, procedures, functions, table triggers, sequences and events through the entry actually offered for the selected engine.
How it works
Open Procedures for supported database/schema routines and Triggers for one table. Inspect views, sequences and scheduled events through deliberately targeted engine SQL; each path has its own save and execution boundary.
- Select an existing table and check connection, database and Schema before Edit table structure → Procedures / Triggers. The overview targets test.test_review_note: its main list is empty and the right-hand panel contains local history; bigint search reads 1/2. History items are not current server-list rows.
- Prepare a procedure or function with Add Procedure. The separate test.test_docs form in the guide shows MySQL add_numbers, a and b as IN INTEGER, a checked function option, INTEGER return and RETURN a + b. Test Syntax checks the payload; OK immediately attempts a save without SQL Preview.
- Prepare a trigger through Add or double-click. Existing-table OK/Delete apply directly; new-table triggers stay staged for main Save Changes → SQL Preview → Execute.
- Use the SQL Editor’s own target for view definitions, sequence catalog inspection and MySQL scheduled events. Reading a definition or archive inventory does not run that object.
- After an intentional operation, inspect actual feedback and freshly read source. List Execute has no parameter-value form; routine history and Cancel/Discard have separate local/pending scopes.
Availability and limits
The initial image pair is complete: an authentic Procedures overview and a separate function configuration in Docs. Physical keyboard/engine workflows, actual server outcomes and named-release acceptance remain pending.
- No common editor covers views, procedures, functions, triggers, sequences and events; a visible action is not a permission or success check.
- Routine editing can omit signatures, simplify return types or drop before recreation. MySQL same-name replacement, PostgreSQL cross-schema/overload identity and SQL Server function Execute/Delete have explicit limits in Docs.
- MySQL-family, PostgreSQL-family, SQL Server, Oracle / OceanBase Oracle and DM8 workflows differ. TDSQL and PolarDB mappings do not establish acceptance for every server version. All DM8 support depends on Python Wheel support from the DM8 vendor; follow-up is ongoing.
- OceanBase MySQL disables routine UI; Snowflake omits Procedures/Triggers. SQLite opt-in routine metadata returns simulation; MongoDB/Redis do not expose this relational form flow.
- Creating a trigger does not prove it fired. Closing the parent or Discard does not roll back completed routine or existing-table trigger actions.
- Portable source definitions and backup/migration listings are not a promise to convert, execute or enforce those objects on a target engine.