Bulk Loading with Microsoft SQL Server

Overview of Bulk Loading Setup

Bulk loading is supported for SAS/ACCESS Interface to Microsoft SQL Server. Bulk loading enables you to insert a large number of rows into a Microsoft SQL Server table. The setup steps and options that you use depend on your data source.

Bulk Loading to Most Microsoft SQL Server Databases

You can enable bulk loading to most Microsoft SQL Server databases by specifying options in the odbc.ini file (for UNIX platforms) or by using the ODBC Administrator (for Windows platforms). For more information, see the ODBC driver information about bulk loading available in your Progress DataDirect documentation.

To bulk load data to most Microsoft SQL Server databases, use the INSERTBUFF= LIBNAME option or INSERTBUFF= data set option to configure bulk loading with Microsoft SQL Server.

Bulk Loading to Azure Synapse Analytics

When you bulk load data into Azure Synapse Analytics (SQL DW), SAS/ACCESS first loads the data files into an Azure Data Lake Storage (ADLS) Gen2 location. SAS/ACCESS then moves the files from the external storage account into Azure Synapse Analytics using the COPY INTO command.

Note: Bulk loading to Azure Synapse Analytics is supported only for SAS 9.4M7 and later. It is not supported in SAS Viya 3.5.

To bulk load data into Azure Synapse Analytics, use the AZUREAUTHCACHELOC= and AZURETENANTID= system options to control access to Azure. For details, see Authentication for Bulk Loading to Azure.

When you are bulk loading data into Azure Synapse Analytics, these options are available:

Authentication for Bulk Loading to Azure

For bulk loading, additional authentication is required due to the process that is described in Bulk Loading to Azure Synapse Analytics.

Use device-code authentication to access Azure. The user ID that is used to authenticate must be assigned Contributor and Storage Blob Data Contributor roles in the ADLS account configuration.

Last updated: February 3, 2026