Issue with bulk insert

后端 未结 3 1673
Happy的楠姐
Happy的楠姐 2021-02-19 19:40

I am trying to insert the data from this link to my SQL server https://www.ian.com/affiliatecenter/include/V2/CityCoordinatesList.zip

I created the table



        
相关标签:
3条回答
  • 2021-02-19 19:42

    This can also happen if the number of columns mismatch between the table and the imported file

    0 讨论(0)
  • 2021-02-19 19:59

    Try ROWTERMINATOR = '0x0a'. it should work.

    0 讨论(0)
  • 2021-02-19 20:09

    you need run BULK INSERT - command from windows login (not from SQL). Now I don't have any examples

    0 讨论(0)
提交回复
热议问题