Signals an OLE2 Automation Object that the PL/SQL client no longer needs it.
PROCEDURE OLE2.Release_Obj
(object obj_type);
object | An OLE2 Automation Object. |
This allows the operating system to deallocate any resources related to the object. You must release each OLE2 Automation Object you create or invoke using the OLE2 Package.
/*
**Release the OLE2 object objap.
*/
declare
objap OLE2.Obj_Type;
begin
objap:=OLE2.Create_Obj('Excel.application.5');
OLE2.Release_Obj(objap);
end;