Skip to content

When running multiple queries in a script the "References" tab does not work #36389

Answered by ShadelessFox
Amitkad asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Amitkad,

When you select a block of text containing multiple queries and hit Ctrl+Enter, DBeaver submits that entire blob to the driver, which in turn sends it to the database. Depending on a particular database/driver, it might be handled differently. The most problematic part is the metadata of the result set. Under some circumstances, DBeaver cannot correlate that metadata with the actual structure of the database, which is required for providing features like data editing, reference navigation, etc.

To work around this, you can execute each query separately using Ctrl+\ or execute the entire script using Alt+X - DBeaver will submit each query separately.

TL;DR: Use Alt+X to exe…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ask9
Comment options

@ShadelessFox
Comment options

@Amitkad
Comment options

Answer selected by E1izabeth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #36258 on November 27, 2024 12:04.