powered by
writeSql writes SQL to a file
writeSql
writeSql(sql, targetFile)
A string containing the sql
The target SQL file
if (FALSE) { sql <- "SELECT * FROM @table_name" writeSql(sql, "myParamStatement.sql") }
Run the code above in your browser using DataLab