| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Database Toolbox |
| Contents | Index |
| Learn more about Database Toolbox |
timeout = querytimeout(curs)
timeout = querytimeout(curs) returns the amount of time, in seconds, allowed for SQL queries of the open cursor curs to succeed. If a given query cannot complete in the specified time, the toolbox stops trying to perform the query.
The database administrator defines timeout values. If the timeout value is zero, queries must complete immediately.
Get the current database timeout setting for curs.
querytimeout(curs)
ans =
10
If a given database does not have a database timeout feature, it returns the following:
[Driver]Driver not capable
ODBC drivers for Microsoft Access and Oracle do not support querytimeout.
![]() | querybuilder | register | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |