0

I'm using Oracle SQL Developer because my class requires it and I don't have a choice.

I would like to print some things.

BEGIN
    dbms_output.put_line('asdf');
END;

it doesn't work. it just says PL/SQL procedure successfully completed.

enter image description here

SQL developer even helpfully greys it out:

enter image description here

please advise.

0

2 Answers 2

1

In SQL Developer, type set serveroutput on and execute it once. You can remove it after that. It will display DBMS output for that session.

Sign up to request clarification or add additional context in comments.

Comments

0

Turns out dbms output appears in another window you need to enable.

  • enable the pane View -> DBMS Output
  • click the green + to actually connect
  • re-run your script

source

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.