Load data in Microsoft SQL server in just a few clicks. Plus there is no need to create any scripts or learn command line tools just point and click.

Learn how you can do it now.

 There several ways to load data into Microsoft SQL Server Database

  • Via ODBC
  • Via OLE DB
  • Using BCP interface

This article describes loading data via BCP.

BCP is the fastest way of loading data into SQL Server

MS SQL Server specific parameters

Check constraints
Ensure that any constraints on the destination table are checked during the bulk copy operation. By default, constraints are ignored.

Keep identity
Specify that there are values in the data file for an identity column.

Keep NULLS
Specify that any columns containing a null value should be retained as null values, even if a default value was specified for that column in the destination table.

Batch size

Specify the number of rows in a batch. The default is the entire data file.

The following values for the Batch size property have these effects:
If you set Batch size to zero, the data is loaded in a single batch. The first row that fails will cause the entire load to be cancelled, and the step fails.
If you set Batch size to one, the data is loaded one row at a time. Each row that fails is counted as a one-row failure. Previously loaded rows are committed.
If you set Batch size to a value greater than one, the data is loaded one batch at a time. Any row that fails in a batch fails that entire batch; loading stops and the step fails. Rows in previously loaded batches are either committed or if the step has joined the package transaction, provisionally retained in the transaction, subject to later commitment or roll-back.

Visit Support Forum Learn More Download Buy It

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies