procedures problem

oracle United States
  • 17 years ago

    When i try to create procedure in oracle i got compilation errors. Even for
    the simpliest procedure like:


    create procedure brisis() as
    begin
    delete from Some_Table;
    end;


    First i tried through SQLPlus, and then in Oracle Console.
    It doesn't seem that i make any mistake but in SQL
    Plus i got this:
    Warning: procedure created with compilation errors.


    When i complile it i almost always got this error:
    'Encountered the symbol ")" when expecting one of the following: <an identifier>
    <a double-quoted delimited-identifier> '
    Where i might make a mistake?

  • 17 years ago

    I havn't done a lot of PLSQL, but whats the "as" about. Looks to me like the source of the problem.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programs must be written for people to read, and only incidentally for machines to execute.”