ADODB query timeout

后端 未结 3 972
遥遥无期
遥遥无期 2020-12-30 01:34

I am trying to open a query, which is timing out. I have tried setting the timeout property, but it doesn\'t seem to want to accept it.

The query takes 34 seconds to

3条回答
  •  醉酒成梦
    2020-12-30 02:34

    For OLEDB do you not need to specify the timout on the connection :-

    Provider=Microsoft.Access.OLEDB.10.0;Persist Security Info=False;Data Source=MyServer;Integrated Security=SSPI;Initial Catalog=MyDatabase;Data Provider=SQLOLEDB.1;Connect Timeout=30

提交回复
热议问题