Option 0 of SQLSetStmtOption() is SQL_QUERY_TIMEOUT. / / This example sets the query to timeout after 30 seconds. $result = odbc_prepare ($conn, $sql); odbc_setoption ($result, 2, 0, 30); odbc_execute ($result);
예 1. ODBC Setoption Examples