Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Oracle 8i + Solaris 8 Procedure Compilation Issue
How profound ... ;-)
This should work OK:
SQL> CREATE OR REPLACE PROCEDURE test
2 AS
3 BEGIN
4 -- you could do a PL/SQL version of "Hello World" here:
5 dbms_output.put_line('Hello, world!');
6 END;
7 /
SQL> SET SERVEROUTPUT ON
SQL> exec test;
On Wed, 14 Feb 2001 15:29:37 +1100, Peter Johnson <peter.johnson_at_galexia.com.au> wrote:
>> >I am wondering if anyone has come across this problem before :-
>> >
>> >SQL> CREATE OR REPLACE PROCEDURE test
>> > 2 AS
>> > 3 DECLARE
>> > 4 BEGIN
>> > 5 END;
>> > 6 /
>> >
>> >Warning: Procedure created with compilation errors.
(...snip...)
>I just tried that but I still get the same error
>
>SQL> CREATE OR REPLACE PROCEDURE test
> 2 BEGIN
> 3 NULL;
> 4 END;
> 5 /
>
>Warning: Procedure created with compilation errors.
>
>Any further ideas ??
>
>
Received on Sat Mar 17 2001 - 12:28:03 CST
![]() |
![]() |