Four Stars

Regarding BULK INSERT to MSSQL DB

We are trying to do BULK Insert into MSSQL DB via talend. As the file is on our disk and not on DB server therefore MSSQL not been able to access the file. Please suggest any way by which we can bulk insert our data via Talend without moving the file to DB server??

5 REPLIES
Moderator

Re: Regarding BULK INSERT to MSSQL DB

Hi,

What's your input source? Can you bulk insert your data into MSSQL DB by using talend bulk component?

Please take a look at this component TalendHelpCenter:tMSSqlOutputBulkExec which allows gains in performance during Insert operations to a Microsoft SQL Server database.

Here is also a related scenario about:TalendHelpCenter: Scenario: Inserting data in bulk in MySQL database.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Regarding BULK INSERT to MSSQL DB

Actually our input is the delimited file on the disk and therefore MSSQL not allowing to access file from the disk and want the file to be on DB server rather than on disk. That's why I just want to know if there is any way possible through Talend that we do BULK load by accessing input file from local disk.


Four Stars

Re: Regarding BULK INSERT to MSSQL DB

 My database is on Azure and I have the same issue.

Four Stars

Re: Regarding BULK INSERT to MSSQL DB

You can use the bcp utility for that and it will be resolved.


Four Stars

Re: Regarding BULK INSERT to MSSQL DB

You can use the bcp utility for that and it will be resolved. You can easily find the sample bcp command over the internet and then use your own configuration. We resolved this issue in same way.