var
ss:TStringStream;
dStringList:TStringList;
begin
dStringList.loadfromfile('');
ss := TStringStream.Create(dStringList.GetText);
ssql:='insert into xxx(md) values(':tmd')';
with dmPublic.qrymcd do
begin
close;
sql.text:=ssql;
Parameters.ParamByName('tmd').LoadFromStream(ss,ftMemo);
execsql;
end;