Cannot bulk load. Operating system error code 5 (Access is denied.)

后端 未结 12 1764
没有蜡笔的小新
没有蜡笔的小新 2020-12-02 14:40

For some weird reason I\'m having problems executing a bulk insert.

BULK INSERT customer_stg
FROM \'C:\\Users\\Michael\\workspace\\pydb\\data\\andrew.out.txt\         


        
12条回答
  •  广开言路
    2020-12-02 15:28

    Make sure the file you're using ('C:\Users\Michael\workspace\pydb\data\andrew.out.txt') is on the SQL server machine and not the client machine running MSSMS.

提交回复
热议问题