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

后端 未结 12 1754
没有蜡笔的小新
没有蜡笔的小新 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:21

    Try giving the folder(s) containing the CSV and Format File read permissions for ‘MSSQLSERVER’ user (or whatever user the SQL Server service is set to Log On As in Windows Services)

提交回复
热议问题