Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Parse error using self instead of table name in %type declaration #33

Closed

Description

@PhilippSalvisberg

In the body of an object type you can have code similar to the following:

declare
   l_sum self.column_name%type;
begin
   null;
end;
/

self causes a parse error since it is a keyword. The workaround is to use "SELF".

Activity

  1. added this to the v5.0.1 milestone on Mar 26, 2024
  2. PhilippSalvisberg commented on Mar 26, 2024

    @PhilippSalvisberg
    CollaboratorAuthor

    fixed via Azure DevOps commit 7f15c268c130830aae38cc6d88c255db4cd8932c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions