Skip to content
September 3, 2015 / doganay


Problem:

PLS-00363: expression 'string1' cannot be used as an assignment target


While:

begin
 pkg1('string1');
end;
/
PLS-00363: expression 'string1' cannot be used as an assignment target


Solution:

Use variable/variables instead:

declare
 v_str VARCHAR2(4096) := 'string1';
begin
 pkg1(v_str);
end;
/
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: