Re: Can't even get 'Hello World' to work in Oracle!

From: obakesan <>
Date: Tue, 05 Aug 2008 07:22:50 GMT
Message-ID: <edTlk.27$>


In article <Xns9AF0BEC5CBEF8anacedenthotmailcom_at_69.16.185.247>, "Ana C. Dent" <> wrote:
>Kramer314 <> wrote in news:70448005-569c-41bb-aab9-
>> Maybe I'm a moron. I don't know, but I can't even get Hello World to
>> work in Oracle. I have the following SQL file:
>> DBMS_OUTPUT.put_line
>> ('Hello World');
>> END;
>below is untested but can't hurt
> DBMS_OUTPUT.put_line
> ('Hello World');
it also needs to be prefaced with:

set serveroutput on


SQL> set serveroutput on

  2         DBMS_OUTPUT.ENABLE(32000);
  3          DBMS_OUTPUT.put_line
  4                ('Hello World');

  5 END;
  6 /
Hello World

PL/SQL procedure successfully completed.

See Ya
(when bandwidth gets better ;-)

Chris Eastwood
Photographer, Programmer Motorcyclist and dingbat blog:

please remove undies for reply Received on Tue Aug 05 2008 - 02:22:50 CDT

Original text of this message