Reputation: 1168
I'm using dbeaver version 5.1.3. When I use the DBMS_OUTPUT.PUT_LINE method for oracle pl/sql it's output not shown anywhere. It has a output tab. It's also blank.
Upvotes: 30
Views: 53864
Reputation: 3442
Note: for me i had to run my PL/SQL (DECLARE/BEGIN/END statement) as 'Execute SQL Query' instead of 'Execute Script'. I thought an dbms_output.put_line would work in either (in fact thought Script would work better for PL/SQL scripts) but alas it didn't.
Upvotes: 0
Reputation: 101
The second (middle icon) is where you can see the output for your query as per December 2020 Dbeaver latest version.
Upvotes: 2
Reputation: 191
shorcut Ctrl+Shift+O
Or You can view the output panel by clicking the 'View Server Output' button.
Upvotes: 8
Reputation: 776
Actually you can use DBMA_OUTPUT.PUT_LINE
in DBeaver (mine is version 4.3.2), maybe you were just looking at "wrong" output tab. I have attached a screenshot of my SQL editor to make my point clearer.
Upvotes: 15
Reputation: 551
You can enable server output console. (Ctrl+Shift+O) If you expand the query pane, you are able to see two more buttons. (Server output console e Execution Log)
I can't really tell you the diference between this server output console and the output view tab you show on the print screen above.
Upvotes: 55