View source: R/execute-sql-file.R
execute_sql_file | R Documentation |
Read a SQL file, and execute its text using the odbc
and DBI
packages.
execute_sql_file(
path_sql,
dsn,
execute = TRUE,
minimum_row_count = 0L,
timezone = "UTC",
timezone_out = "UTC"
)
path_sql |
A vector to of names to convert. Required character. |
dsn |
The name of a DSN defined on your local machine Required character. |
execute |
Indicates if |
minimum_row_count |
If |
timezone |
The server time zone. Passed to |
timezone_out |
The time zone returned to R. Passed to |
A vector of converted names.
Will Beasley
## Not run:
execute_sql_file("inst/hdid-select.sql", "cdw_cache_staging")
execute_sql_file("inst/condense-date.sql", "cdw_cache_staging")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.