AX_SetSQLTimeout

Advantage SQL RDDs

  Previous topic Next topic  

Syntax

AX_SetSQLTimeout( AS DWORD )

Returns

The previous SQL Timeout setting.

Description

This function specifies the SQL Timeout setting to use when executing SQL Statements and working with resulting cursors. By default, no timeout is used and SQL operations will be allowed to execute indefinitely. When a timeout value is specified, any query whose execution exceeds the timeout value will be cancelled, and an error 7209 (SQL query aborted by user) is returned to the client.

NOTE: This function is only valid for use with the Advantage SQL RDDs (AXSQLNTX, AXSQLCDX, AXSQLVFP, and AXSQLADT).

See also

AdsSetSQLTimeout