sql_to_rqry | R Documentation |
This function extracts a query string from simple .sql file. The SQL file should only contain a comment block at the top and the SQL query itself.
sql_to_rqry(sql_path)
sql_path |
File path to .sql file as a character vector. |
Returns an SQL statement as a character vector, which can be executed on a database connection using functions in the RODBC or ROracle packages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.