[REBOL] Re: Any experience with REBOL + Oracle here?
From: petr:krenzelok:trz:cz at: 2-Jun-2006 16:26
Alessandro Manotti wrote:
> 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
>
hi, I get a crash. Even via configured odbc Oracle driver and something
as easy as:
declare i number;
begin
i:=1;
end;
it still crashes ...
-pekr-