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

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

    1. Go to start run=>services.msc=>SQL SERVER(MSSQLSERVER) stop the service
    2. Right click on SQL SERVER(MSSQLSERVER)=> properties=>LogOn Tab=>Local System Account=>OK
    3. Restart the SQL server Management Studio.

提交回复
热议问题