SQLQueryTimeout (statement)

Syntax

SQLQueryTimeout time

Description

Specifies the timeout, in seconds, for ODBC queries.

If you do not set SQLQueryTimeout , the default timeout is 60 seconds (1 minute).

Comments

The SQLQueryTimeout statement accepts the following parameter:

 

Parameter

Description

 

Time

Integer specifying the timeout for ODBC queries in seconds.

Example

The following example sets the timeout for ODBC queries to 120 seconds (2 minutes).

Sub Main()
  SQLQueryTimeout 120
End Sub

More information

S