QuoteName {hana.ml.r}R Documentation

QuoteName

Description

Escape a schema, table, or column name for use in SQL. hana_ml functions and methods that take schema, table, or column names already escape their input by default, but those that take SQL don't (and can't) perform escaping automatically.

Usage

QuoteName(name, has.schema = FALSE)

Arguments

name

charater Name of the table/column to be quoted.

has.schema

logical, optional - TRUE: the name contains schema name.
- FALSE: the name dod not have schema name.
Defaults to FALSE.

Value

character
Escaped name. The string is surrounded in quotation marks and existing quotation marks are escaped by doubling them.


[Package hana.ml.r version 1.0.8 Index]