question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

image

When I CTRL+ENTER I got error

But if I select highlighted SQL and CTRL+ENTER it run OK

seems editor wrongly detects where sql start between ;

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
LonwoLonwocommented, Jun 8, 2021

lgfPrWtMWZ

@p91paul So, I disabled “Blank line is statement delimiter” and made this video. The problem is not with delimiter, but with delimiter + “(”

Perhaps this complication from the DBeaver is to think that statement is still open. But we have a lot of tickets about of incorrect delimiter parsing. Many databases and a lot of rules in DBeaver which sometimes contradict each other 😦

0reactions
broniuscommented, Sep 10, 2021

Thanks for engaging with me on this thread. I see the behavior I am after already exists - - I just have to remap ^ + enter from “Execute SQL Statement” (which is really “execute query under cursor or selected text”) to “Execute SQL Script”. I will see if I miss “execute selected/highlighted text” in time 😃 Preferences Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Server Query won't run - Stack Overflow
Cause The error is being caused by a timeout exception for long running queries. In previous versions of Visual Studio .NET, the exception...
Read more >
Resolving could not open a connection to SQL Server errors
Resolving could not open a connection to SQL Server errors · Step 1 - Check that you can ping the SQL Server box...
Read more >
Exception when you execute a query - SQL Server
This article provides workarounds for the problem that occurs when you use SQL Server Management Studio (SSMS) to run a SQL query that ......
Read more >
How to troubleshoot when SQL Server Services don't start
Top 3 reasons the SQL server services won't start. · Reason # 1:Service account password changed but not updated on the server where...
Read more >
The SQL Server Instance That Will not Start - Simple Talk
Just finding the master database files is not enough; SQL Server must be able to open the database, recover it and bring it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found