How To Set Server Output On in DataGrip

kooliebwoy picture kooliebwoy · Jan 5, 2017 · Viewed 8.9k times · Source

How Can I "set server output" on in Jetbrains DataGrip IDE? I am able to do this in SQL Developer and run the SQL script successfully. The same script I try to run in DataGrip and it gives error. I know its the "set server output on" that is not working because I had to configure SQL Developer for it to work. Any advice would be appreciated. Thanks.

Answer

Alex Poole picture Alex Poole · Jan 5, 2017

According to the documentation:

For Oracle, you can enable or disable showing the contents of the DBMS_OUTPUT buffer in the output pane. To do that, use button on the toolbar of the Database Console tool window (Ctrl+F8).

They also show an image of the window with the button enabled;

2

Update: 2019

The icon to enable the output looks like:

enter image description here

On MacOS it can be enabled with Command+F8.