定义一个 text 的字段类型就行了,下面的代码供参考procedure TfrmText.Button3Click(Sender: TObject);var str : WideString; ss:TStringStream; i : integer;begin str := 'sstrstrststrstrststrstrstrsttrstrstrrstrstr'; for i := 1 to 10000 do begin str := str + 'sstrstrststrstrststrstrstrsttrstrstrrstrstr'; //43万多个字节 end; str := str + 'E'; ss := TStringStream.Create(str); //bm:=TBitmap.Create; //bm.Assign(image1.Picture.Bitmap); //bm.SaveToStream(ms); with DataMConn.ADOQHistory do begin Close; SQL.Clear; SQL.Add('INSERT INTO tPackage(PackageID,TempPackage) VALUESx,:y)'); Parameters.ParamByName('y').LoadFromStream(ss,ftMemo); Parameters.ParamByName('x').Value := 'aaaaa'; ExecSQL; end;end;//read text to a TDBMemoprocedure TfrmText.Button4Click(Sender: TObject);var stream : TStream; str : WideString;begin with DataMConn.ADOQHistory do begin Close; SQL.Clear; SQL.Add('SELECT TempPackage FROM tPackage WHERE packageID= ''aaaaa'''); Open; if not IsEmpty then begin Stream := DataMConn.ADOQHistory.CreateBlobStream(FieldByName('TempPackage'),bmRead); stream.Position := 0; AMemo.Lines.LoadFromStream(stream); stream.Free; end; end;end;