有高手讲一下SQL Server中的query wait,remote query timeout和remote login timeout的区别联系?
最近遇到一个问题,在一个VB程序中用ADODB.Connection.Execute执行大量数据插入的SQL语句,此时程序提示"SQL Timeout expired",我想在不改程序的情况下怎么样合理配置SQL Server服务器使得可以正常运行程序,想请高手们讲解一下query wait,remote timeout和remote login timeout的异同和配置后对SQL Server性能的影响,如果可以改程序是否是设置ADODB.Connection.ConnectionTimeout,ADODB.Connection.CommandTimeout和ADODB.Command.CommandTimeout来完成上述要求,那如果用ADODB.Recordset.Open执行SQL呢?