I Opps I have found a bug.
I use a TOraQuery, (or TOraSQL it's the same bug) with this SQL
The two ID as a type DOUBLE and TABLENAME is String.INSERT INTO PCS.PC_EXTRACT_XML(
'PC_ISSUES_ID,
'PC_TYPE_XML_ID,
'EXM_TABLENAME)
'VALUES(:PC_ISSUES_ID,
':PC_TYPE_XML_ID,
':EXM_TABLENAME)'
I set one time PC_ISSUES_ID and EXM_TABLENAME ,and in a loop "FOR" I set many time PC_TYPE_XML_ID.
Look code.
Code: Select all
FQryInsAllNormal.ParamByName('EXM_TABLENAME').AsString := aTableName;
nCnt := 0;
while nCnt 0 then
begin
FQryInsAllNormal.ParamByName('PC_TYPE_XML_ID').AsFloat := nInsId;
FQryInsAllNormal.Execute;
end;
Inc(nCnt);
end;
Why this ?
Thank,
PS, I use the last OADC 5.55.1.3022 in VCL.NET, Oracle 10g, with OCI call (Not Net).