Description Usage Arguments Examples
commit .sql file to database
1 | commit_sql(conn, sql_file, file_flag = T)
|
conn |
the connection from connect_db |
sql_file |
the sql file without any comments |
file_flag |
default TRUE, if FALSE, the sql file itself is treated as a string |
1 2 3 4 5 | ## Not run:
commit_sql(conn, "Z:/EMR/bearhunt.sql")
commit_sql(conn, "select * from session.ca", file_flag = F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.