CREATE OR REPLACE FUNCTION CONCAT_BLOB(A in BLOB,B in BLOB) RETURN BLOB IS
C BLOB;
BEGIN
DBMS_LOB.APPEND (C,A);
DBMS_LOB.APPEND (C,B);
RETURN C;
END;
CREATE OR REPLACE PROCEDURE update_NEW_REC_tmp is
tempBlob BLOB :=utl_raw.cast_to_raw('^');
begin
execute immediate 'update audt set new_rec= CONCAT_BLOB(tempBlob,new_rec)' ;
commit;
end;
执行更新_NEW_REC_tmp;
执行过程时出现错误:ORA-00904: "TEMPBLOB": invalid identifier