lapplyquery | R Documentation |
Fetch queries using wildcard values given in vallist.
lapplyquery(qry, vallist, con = NULL)
qry |
Is SQL query created containing a '?' to indicate where vallist values should be placed.
For JDBC is must be a character text, for ODBC qry can be an object created by |
vallist |
A list of values to replace the '?' in qry. |
con |
A DBI connection |
For ODBC the function dbBind and dbFetch are used. For JDBC dbBind doesn't work (at time of writing) so the replacement of '?' is performed before creating an SQL query object. When qry is a character object, the new line characters are ignored.
A data frame of all results bound together (bound using rbind)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.