writeSql: Write SQL to a SQL (text) file

Description Usage Arguments Details Examples

Description

writeSql writes SQL to a file

Usage

1
writeSql(sql, targetFile)

Arguments

sql

A string containing the sql

targetFile

The target SQL file

Details

writeSql writes SQL to a file

Examples

1
2
3
4
5
## Not run: 
sql <- "SELECT * FROM @table_name"
writeSql(sql, "myParamStatement.sql")

## End(Not run)

hxia/SqlRender4Impala documentation built on May 17, 2019, 9:15 p.m.