[REBOL] Re: Any experience with REBOL + Oracle here?
From: ale870::gmail at: 2-Jun-2006 16:17
I don't understand if your script is pl/sql. If so, I think you forgot
procedure is
prefix.
More: PL/SQL does NOT use "{" but "begin... end".
Think that PL/SQL is a branch of ADA language (similar to Pascal).
You can write procedure as follows (first declare is not needed):
create or replace procedure cmd is
i number;
begin
i := 1;
while i < 11 loop
dbms_output.put_line(to_char(i));
i := i + 1;
end loop;
end;
Another question: do you get any error, or simply crash?
--Alessandro
On 6/2/06, Petr Krenzelok <petr.krenzelok-trz.cz> wrote: