When running multiple queries in a script the "References" tab does not work #36389
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 execute multiple queries. |
Beta Was this translation helpful? Give feedback.
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…