Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of constants in datatypes #187

Open
felipebz opened this issue Sep 18, 2024 · 0 comments
Open

Improve handling of constants in datatypes #187

felipebz opened this issue Sep 18, 2024 · 0 comments

Comments

@felipebz
Copy link
Owner

Consider the code below:

declare
  const_length constant number := 5;
  var1 number(const_length);
  var2 number(5);
begin
  null;
end;

Both variables are essentially "number(5)", but currently, ZPA interprets the length of var1 as null and the length of var2 as 5.

image

It would be useful to improve ZPA to recognize the value of const_length and display the length of var1 as 5 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant