var
c1, c2: TLOBLocator;
Q: TOracleQuery;
begin
c1 := TLOBLocator.CreateTemporary(Session, otCLOB, True);
c2 := TLOBLocator.CreateTemporary(Session, otCLOB, True);
c1.AsString := 'Hello';
c2.AsString := 'World';
Q := TOracleQuery.Create(nil);
Q.Session := Session;
Q.SQL.Text := 'insert into clob_table (c1, c2) values (:c1, :c2)';
Q.DeclareVariable('c1', otCLOB);
Q.DeclareVariable('c2', otCLOB);
Q.SetComplexVariable('c1', c1);
Q.SetComplexVariable('c2', c2);
Q.Execute;
Q.Free;
c1.Free;
c2.Free;
Session.Commit;
end;