Issue
For queries that use syntax highlighting that is not yet fully supported, manual selection may be split into separate fragments. As a result, only part of the selected query is executed, even when the entire statement appears to be selected.
This can cause errors such as SQL compilation errors or syntax errors:
Workaround
First, please check whether the issue has already been reported in YouTrack. If not, please create a new ticket so that we can support the missing syntax and fix the issue.
Starting with version 2026.1 (supported in Execute selection as one statement), use the Execute Selection as Single Statement context action to execute the entire selection as one statement:
For versions earlier than 2026.1, temporarily change the query execution settings:
Open Settings | Database | Query Execution.
Set Selection execute to Exactly as one statement.


Comments
0 comments
Please sign in to leave a comment.