Search notes:

DBMS_OUTPUT.PUT_LINE

In SQL*Plus:
SQL> set serveroutput on
SQL> exec dbms_output.put_line('Hello world');

See also

dbms_output
The SQL Server equivalent for dbms_output.put_line is roughly print.

Index