DataGrip focuses Console Output instead of Result tab when setting @variables

With any type of SQL query, after executing the focus will be on its Result window:

SELECT 1 + 1

But if that SQL query assign a value to a variable, the focus will be on the Console Output.

DECLARE @variable INT
SELECT @variable = 1 + 1

This is really annoying, how can I prevent this behavior ?

3 comments
Comment actions Permalink

Hi,

Could you specify DataGrip version you use? Since I can't reproduce the problem.

Thank you.

0
Comment actions Permalink

Hello, DataGrip 2016.2.6 and the database is Sybase ASE 15.7.

Cheers,
Carlos

0
Comment actions Permalink

@Carlos Ataíde Hi,

When I execute 2nd query in Database Console I will get a result in Output, but focus (cursor) is in Database Console.

Have I missed sth?

Thank you.

 

0

Please sign in to leave a comment.