pyodbc connection timeout no triggered when run with WHILE loop

前端 未结 0 2004
旧时难觅i
旧时难觅i 2020-12-24 03:04

I wrote this code expecting it to throw a timeout exception:

import pyodbc

constr = \'MY CONNECTION STRING...\'
cnxn = pyodbc.connect(constr)
cnxn.autocommit         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题