SqlBulkCopy.WriteToServer is not working with Fabric Data Warehouse (Azure) #2995
Labels
✔️ Triage Done
Issues that are triaged by dev team and are in investigation.
ℹ️ Needs more Info
Issues that have insufficient information to pursue investigations
When I try to write a DataTable to the user with the WriteToServer, I receive the the following exception:
I am using the following code:
bulkCopy.DestinationTableName = "Personnel";
bulkCopy.WriteToServer(personnelDataTable);
The same code is working as expected when I use an on-premise MS SQL Server 2022:
I am able to insert data to the warehouse in Azure if I use the SqlCommand object with INSERT INTO statement.
I am using the following technologies:
Microsoft.Data.SqlClient version 5.2.2: (installed with nuget packet manager)
.NET target: Core 8.0
SQL Server version: Microsoft Azure SQL Data Warehouse (RTM) - 12.0.2000.8
Operating system: Windows 11 Home (23H2)
The text was updated successfully, but these errors were encountered: