简体   繁体   中英

Importing table from CSV file in MSSM, rows are omitted but not showing, file is stuck

I imported a table from a CSV file. The preview showed the right data and the columns are all the same. The procedure looked succesfull as 4 rows were omitted. But when querying the Table it is empty.

I cannot try it again because the file is in use. Also when i try bulk insert i get the following message.

Cannot bulk load because the file "C:\\Users\\PWAdmin\\Documents\\Balansen\\balh.csv" could not be opened. Operating system error code 5(Access is denied.).

Are you using SQL Server Authentication. If so, does SQL Server have access to the folder? That's usually why the error pops up. Right click the folder, go to security, and give the SQLServer access.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM