forked from OHDSI/SqlRender
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtranslateSql.Rd
26 lines (24 loc) · 915 Bytes
/
translateSql.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RenderSql.R
\name{translateSql}
\alias{translateSql}
\title{Deprecated: Translates SQL from one dialect to another}
\usage{
translateSql(sql = "", targetDialect, oracleTempSchema = NULL)
}
\arguments{
\item{sql}{The SQL to be translated}
\item{targetDialect}{The target dialect. Currently "oracle", "postgresql", "pdw", "impala",
"netezza", "bigquery", "snowflake", "synapse", "spark", "redshift", and
"iris" are supported}
\item{oracleTempSchema}{A schema that can be used to create temp tables in when using Oracle or
Impala.}
}
\value{
A list containing the following elements: \describe{ \item{originalSql}{The original parameterized
SQL code} \item{sql}{The translated SQL} }
}
\description{
This function has been deprecated. Use \code{\link{translate}} instead. This new function returns a
character vector instead of a list.
}