Pls 00363 выражение не м б использовано как адресат назначения

Обновлено: 21.11.2024

help me please to understand this error.. May be i must do ud_mosh_dvig(x number, y number) and create type body after.

Follow asked Oct 28 '13 at 18:31 174 2 2 silver badges 9 9 bronze badges

1 Answer 1

By default, for every non-static function, implicitly declared self parameter is in IN parameter mode. It means, that it simply cannot be modified. But, it should be noted that for non-static procedures self parameter is in IN OUT default parameter mode.

Although it is not a good practice to allow a function to return multiple values, change value ud_mosh property of an object and return the same value to the invoker, in this case, you can explicitly declare self parameter of the function in IN OUT parameter mode:

But you wont be able to use that function in SQL, because of declared formal parameter of the function in IN OUT parameter mode - only PL/SQL

Читайте также: