[英]Database connection is busy with results from another command
What I am trying to do was to fetch data from an data API which I did using Python and the data that was received as response from the API, was stored in panda dataframe. 我想做的是从使用Python的数据API中获取数据,并将作为API响应收到的数据存储在panda数据框中。
Then those dataframes were converted to csv and the csv was pushed to Azure blob storage. 然后将这些数据帧转换为csv,然后将csv推送到Azure blob存储。
The same program post pushing the csv to Azure creates an external table on MS-SQL Server. 将csv推送到Azure的同一程序后,将在MS-SQL Server上创建一个外部表。
Post which the data is transferred to main table from the external table. 过帐将数据从外部表传输到主表。
This process is run in loop for multiple tables. 此过程针对多个表循环运行。 And the program breaks after few iterations.
经过几次迭代程序就中断了。
The code for one of the procedures is available at this Stackoverflow post. 可在此Stackoverflow帖子中找到其中一个过程的代码。 Move data from a external table to main table using procedure
使用过程将数据从外部表移动到主表
This image is a screenshot of the error I am getting. 此图像是我遇到的错误的屏幕截图。 http://prntscr.com/ocxmwu
http://prntscr.com/ocxmwu
It got fixed by using 它通过使用固定
MARS_Connection=yes MARS_Connection =是
In the connection string for database 在数据库的连接字符串中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.