![]() |
Datenbank: MySQL • Version: 5 • Zugriff über: ADO.net, MySQL-Connector
Exception bei grßem INSERT
Hallo,
immer wenn ich ein INSERT Query absetze, das etwas größer ausfällt (z. B. über 1MB), bekomme ich eine Exception mit dem Fehlertext "unable to write to stream" an der angegebenen Stelle.
Delphi-Quellcode:
Hat jemand eine Ahnung, was das sein kann bzw. wie ich dieses Problem löse?
var
FSQLConnection: MySqlConnection; Command: IDbCommand; begin ... Command := FSQLConnection.CreateCommand; Command.CommandText := SQL; try Command.Prepare; Command.ExecuteNonQuery; // <--- except on E: Exception do begin Console.WriteLine('Error: ' + E.Message); end; end; end; Gruß xaromz |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:03 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz