Re: Problem with insert statement in Delphi
I've similar problem with inserting file into
BLOB. The file size is about 500k so i use
mediumblob filed type.
Inserting:
Qry.SQL.Text:='INSERT INTO tbl_brcfile VALUES(:BrdKey, :Brc)';
Qry.Parameters.ParamByName('BrdKey').Value:=BrdKey;
Qry.Parameters.ParamByName('Brc').LoadFromFile(BrcFileName, ftBlob);
try
Qry.ExecSQL;
Qry has type TADOQuery.
The at the last string (ExecSQL) apears the
exception "Connection was lost". The program
really looses the coonection but then reconnects
automatically. No data is inserted into the table.
What shall i do?:( Help!
Subject
Written By
Posted
Re: Problem with insert statement in Delphi
June 12, 2006 03:04AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.