I have the following PLSQL code:
declare
v_exec_obj_strng varchar2(4000);
p_map_name varchar2(40) := 'TEST';
p_key number := 4;
p_checksum varchar2(40) := '111111111111111';
p_value blob := 11111111111111111111;
begin
v_exec_obj_strng := 'insert into my_table(name, key, chksum, value) values (''' || p_map_name || ''', ' || p_key || ', ''' || p_checksum || ''', ''' || p_value || ''')';
dbms_output.put_line(v_exec_obj_strng);
end;
/
and I am getting this error:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
thoughts?