# NOT RUN {
conn = odbcConnect('MyDataSource')
sqlPrepare(conn, "SELECT * FROM myTable WHERE column = ?")
odbcSetQueryTimeout(conn, 120) # sets the query timeout of the prepared statement
sqlExecute(conn, 'myValue')
sqlFetchMore(conn)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab