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

Using SQLT_VNU as an in out parameter fails #73

Open
shamis opened this issue Oct 18, 2018 · 0 comments
Open

Using SQLT_VNU as an in out parameter fails #73

shamis opened this issue Oct 18, 2018 · 0 comments
Assignees
Labels

Comments

@shamis
Copy link
Member

shamis commented Oct 18, 2018

Following code can be used to reproduce the problem

DECLARE
    var1 number := 0;
BEGIN
    var1 := :SQLT_VNU_INOUT_VAR1;
    var1 := var1 + 1;
end;

Error produced is ORA-01459: Ungültige Länge für variable Zeichenfolge

Workaround would be to use a seperate IN and OUT parameters as follwoing

DECLARE
    var1 number := 0;
BEGIN
    var1 := :SQLT_VNU_IN_VAR1;
    var1 := var1 + 1;
    :SQLT_VNU_OUT_VAR2 := var1;
END;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants