View source: R/HelperFunctions.R
writeSql | R Documentation |
writeSql
writes SQL to a file
writeSql(sql, targetFile)
sql |
A string containing the sql |
targetFile |
The target SQL file |
writeSql
writes SQL to a file
## Not run:
sql <- "SELECT * FROM @table_name"
writeSql(sql, "myParamStatement.sql")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.