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

前端 未结 2 1893
青春惊慌失措
青春惊慌失措 2020-12-30 21:39

Hello not sure why Im getting this error. Basically I get it in these three lines:

PLS-00363: expression \'p_temp_foo.editable.modified_by\' cannot be used a         


        
2条回答
  •  说谎
    说谎 (楼主)
    2020-12-30 21:59

    Generate new VARCHAR2 type variable to assign your IN (input) string.

    procedure sp_name(
    ps_list              IN VARCHAR2,
    ...
    other IN's and OUT's
    ...
    )
    as
    
    ps_list_copy          VARCHAR2 (32000); 
    
    begin 
    ps_list_copy := ps_list;
    ...
    do your works with ps_list_copy
    ...
    ...
    Exception when others then
    ....
    end sp_name;
    

提交回复
热议问题