DatabaseLink`
DatabaseLink`
$SQLTimeout
gives the default time in seconds that DatabaseLink waits while opening connections and executing database queries.
更多信息和选项
- To use $SQLTimeout, you first need to load DatabaseLink using Needs["DatabaseLink`"].
- The default setting is Automatic, which falls back on a driver-dependent default.
范例
打开所有单元关闭所有单元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: