Salesforce ODBC Drivers BULK INSERT / Custom IDs

Discussion of open issues, suggestions and bugs regarding usage of ODBC Drivers
Post Reply
Posts: 1
Joined: Mon 16 Apr 2018 13:33

Salesforce ODBC Drivers BULK INSERT / Custom IDs

Post by abayd » Mon 16 Apr 2018 14:15

We got the ODBC drivers for basically just reading data from salesforce (SELECT statement) into our SQL Server. The project changed and now we are inserting data into salesforce. Daily Inserts are couple hundred records so there is no issue there.

We have one monthly update that may extend from 10,000-50,000. Currently we tested an INSERT for 12000 rows and it took 1.5 hours before the connection terminated.

1)My question is : are there any best practices documentation (couldn't find any) for inserting "large" data using SSMS? Bulk Insert?

Driver :1.5.13
win server 2012
SQL Server 2014

Query :

INSERT INTO [dsf]...[Opportunity]

2) can we use custom IDs for inserts like Opportunity_ID__c above instead of having to lookup salesforce db IDs? this is so we can link it to other tables.
Thank you

Post Reply