Executing SQL Statements
Last modified: February 16, 2024
Running Entire Script
To execute the entire script, click the Execute button on the SQL toolbar.
Alternatively, on the SQL menu, select the Execute command.
Running Selected Block of Text
To execute an arbitrary text block:
- Select the text block using the mouse or keyboard.
- Run the Execute command as when executing the entire script.
Running Current Statement
To execute current statement, click the Execute Current Statement button on the SQL toolbar.
Alternatively, right-click a required statement, and select Execute Current Statement command on the shortcut menu.
Execute to Cursor
To execute script to the current position of the cursor:
-
Move cursor to the required position.
-
Click Execute to Cursor on the shortcut menu or press Ctrl+Shift+F10.
How to Stop Execution
To stop SQL execution, click Stop Execution on the SQL toolbar.
Representing Query Execution Results
The query execution results can be represented in two ways - in text and in grid formats.
To represent results as text, click Results as Text on the SQL toolbar before query execution.
To represent results as grid, click Results as Grid on the SQL toolbar before query execution.
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.