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.
if (FALSE) { execute_sql_file("inst/hdid-select.sql", "cdw_cache_staging") execute_sql_file("inst/condense-date.sql", "cdw_cache_staging") }