Description Usage Arguments Value See Also Examples
View source: R/odbcGetQueryTimeout.R
A query has to be already prepared using SQLPrepare()
Throws an error if an error occured
| 1 | odbcGetQueryTimeout(channel)
 | 
| channel | an RODBC channel containing an open connection | 
The current query timeout value in seconds. 0 means "no timeout"
odbcSetQueryTimeout, odbcConnect,
odbcDriverConnect
| 1 2 3 4 5 6 7 8 9 | ## Not run: 
  conn = odbcConnect('MyDataSource')
  
  sqlPrepare(conn, "SELECT * FROM myTable WHERE column = ?")
  odbcGetQueryTimeout(conn)   # shows the current query timeout of the prepared statement
  sqlExecute(conn, 'myValue')
  sqlFetchMore(conn)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.