DatabaseLink`
DatabaseLink`

$SQLTimeout

$SQLTimeout

gives the default time in seconds that DatabaseLink waits while opening connections and executing database queries.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

Set a timeout value for a query:

Scope  (1)

Setting $SQLTimeout affects the default timeout for all DatabaseLink functions with a "Timeout" option:

Possible Issues  (1)

Not all JDBC drivers implement timeout-related methods. Setting $SQLTimeout (or the "Timeout" option) will have no effect with certain drivers: