This guide explains the main workflows in DatabaseManager.
See also: Documentation Index | Project README | Architecture | Troubleshooting
- Left: Schema Assistant panel
- Center/Right: Output tab panel (
SQL Editor,Schema,Results,Edit Rows,Procedure Runner) - Bottom: Connection and execution controls
- Footer: Status messages
- Enter a valid connection string.
- Set timeout (seconds).
- Click Test.
If successful, schema metadata loads automatically.
- Refresh schema list
- Search/filter table names
- Select table to load columns and generated table schema text
Context menu actions:
- Generate SELECT
- Generate INSERT
- Generate UPDATE
- Generate DELETE
- Get Table SQL Schema
- Copy Name
- Refresh schema list
- Search/filter procedures
- Select procedure to load parameters and definition
Context menu actions:
- Generate EXEC
- Open In Runner
- Copy Name
- Save current SQL using a template name
- Double-click template to load into SQL Editor
- Refresh/Delete templates
- Open SQL Editor tab.
- Type SQL manually or generate SQL from context menu actions in Schema Assistant.
- Click Run.
- Review tabular output in Results.
Keyboard shortcuts:
Ctrl+E: Run queryCtrl+Q: Cancel execution
- Review returned table data.
- Export current results:
- CSV
- Excel
Edit Rows allows targeted table-data editing with load criteria.
- Select a table from Schema Assistant.
- Open Edit Rows.
- Set inputs:
Top(required)Filter(optional SQL predicate body)Order By(optional SQL ordering expression)
- Confirm generated SQL in the editable query box.
- Click Load.
- Edit cell values directly.
- Click Save Changes to persist updates.
- Use right-click Delete Row... for row deletion.
- Click Discard Changes to reject unsaved grid edits.
- Save/Delete requires primary key columns.
- Save/Delete operations are transactional.
- Input fields and generated query are synchronized both ways.
- Select stored procedure in Schema Assistant.
- Open Procedure Runner.
- Enter parameter values.
- Mark NULL as needed.
- Click Execute Procedure.
Output appears in Results handling path with status updates.
- Dark mode checkbox toggles app theme.
- Object Explorer checkbox shows/hides Schema Assistant panel.
The footer status bar reports:
- Connection/test outcomes
- Execution progress
- Save/delete outcomes
- Validation messages (missing selection, invalid top value, etc.)
- Keep timeout reasonable for large queries.
- Start with narrower
Topvalues in Edit Rows for responsiveness. - Use templates for frequently used scripts.
- Use query generation as a starting point and refine before running writes.