Reputation: 2761
I'm trying to learn some PL/SQL but I'm having an issue with my first program:
declare
v_string_tx varchar2(256):='Hello World!';
begin
dbms_output.put_line(v_string_tx);
end;
When I run this in SQL Developer I just get a message saying 'anonymous block completed'. However I don't get the 'Hello World!' as expected. Anyone know what I'm missing?
I've tried placing the line 'set serveroutput on' before this code but when I do that and run it all, nothing happens(I don't even get the message telling me that the anonymous block has completed).
Upvotes: 1
Views: 1170
Reputation: 30775
To see your output in SQL/Developer, you'll have to do this:
Upvotes: 7