R/load_sql_file.R
load_sql_file.Rd
Load a SQL file, remove all comments starting with "–" and return the SQL as a single string.
load_sql_file(sql_file = NULL)
The path to the SQL file.
A string containing the SQL code which c an be executed in e.g. `DBI::dbExecute(conn, sql)`