I am using TQuery to insert record into table. Below is the code for that.
with qryABC do
begin
Close;
SQL.Clear;
SQL.Text := 'INSERT INTO tableXYZ (ID) values (:ID)';
ParamByName('ID').Value := AnyID;
ExecSQL;
Close;
end;
When I fire same query from oracle, query gets fired, but giving exception when I try to fire the query from delphi xe2. While debugging, I found out that I get error on "ExecSQL" statement in above code. Exception is: EDBEngineError - Operation Not Applicable
I googled it but with no fruit. Please help.