Re: Bulk Insert - Help



Look at BULK INSERT in BOL - you will to execute this command with, for
example, TADOCommand.

Or, if you generate data in program, try OLEDB Direct
(http://www.oledbdirect.com) - it supports fast load interface, the same
mechanism as bulk copy uses. Look Examples\SQL Server\1 000 000 rows as
example on how to insert 1 million rows into simple table in MS SQL Server
in ~10 sec.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Mark Moss" <markmoss@xxxxxxxxxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:4351a9d1$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Ladies / Gentlemen
>
>
> I need to do a 'Bulk Insert' into a Microsoft SQL Server from
> within
> a
> Delphi 6 program. Can someone provide an example on what needs to be
> done.
>
>
> Thanks
>
>
> Mark Moss
>
>
>


.



Relevant Pages

  • Re: Inserts so slow using _Connection.Execute
    ... feature is available in OLEDB Direct, ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... sooo slow. ...
    (borland.public.delphi.database.ado)
  • Re: Inserts so slow using _Connection.Execute
    ... and inside cycle set parameters. ... feature is available in OLEDB Direct, ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... sooo slow. ...
    (borland.public.delphi.database.ado)
  • ANN: Using OLEDB Direct/OLEDB Express with MS SQL Server 2005
    ... You could download MS SQL Server 2005 beta from Microsoft. ... Use OLEDB Direct with MS SQL Server 2005: For MS SQL Server 2005 OLEDB ... //database and execute "CREATE DATABASE" SQL statement. ...
    (borland.public.delphi.thirdpartytools.general)
  • OLEDB Express 1.90 is released
    ... for MS SQL Server, MS Access, and MS Excel. ... It supports multiple transactions, multiple resultsets. ... This release is compiled with OLEDB Direct 1.90. ...
    (borland.public.delphi.thirdpartytools.general)