Cannot bulk load because the file could not be opened. Operating System Error Code 3

后端 未结 7 920
萌比男神i
萌比男神i 2021-02-01 13:38

I\'m trying to set up a Stored Procedure as a SQL Server Agent Job and it\'s giving me the following error,

Cannot bulk load because the file \"P:\\file.csv\" could no

7条回答
  •  没有蜡笔的小新
    2021-02-01 14:16

    To keep this simple, I just changed the directory from which I was importing the data to a local folder on the server.

    I had the file located on a shared folder, I just copied my files to "c:\TEMP\Reports" on my server (updated the query to BULK INSERT from the new folder). The Agent task completed successfully :)

    Finally after a long time I'm able to BULK Insert automatically via agent job.

    Best regards.

提交回复
热议问题