Description Usage Arguments Details Examples
This function takes SQL and translates it to a different dialect.
1 2 | translateSqlFile(sourceFile, targetFile, sourceDialect = "sql server",
targetDialect = "oracle", oracleTempSchema = NULL)
|
sourceFile |
The source SQL file |
targetFile |
The target SQL file |
sourceDialect |
The source dialect. Currently, only 'sql server' for Microsoft SQL Server is supported |
targetDialect |
The target dialect. Currently 'oracle', 'postgresql', and 'redshift' are supported |
oracleTempSchema |
A schema that can be used to create temp tables in when using Oracle. |
This function takes SQL and translates it to a different dialect.
1 2 3 4 5 6 | ## Not run:
translateSqlFile("myRenderedStatement.sql",
"myTranslatedStatement.sql",
targetDialect = "postgresql")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.