Writing a csv file into SQL Server database using python

后端 未结 5 2042
一向
一向 2020-12-01 00:22

Hi I am trying to write a csv file into a table in SQL Server database using python. I am facing errors when I pass the parameters , but I don\'t face any error when I do it

5条回答
  •  有刺的猬
    2020-12-01 00:51

    I got it sorted out. The error was due to the size restriction restriction of table. It changed the column capacity like from col1 varchar(10) to col1 varchar(35) etc. Now it's working fine.

提交回复
热议问题