tableQuote: Quote Table Name

View source: R/tableQuote.R

tableQuoteR Documentation

Quote Table Name

Description

Add special quotes around table name.

Usage

tableQuote(sqtable)

Arguments

sqtable

table name, with or without schema name.

Value

String with special quotes.

Note

The sqlQuery function requires special quotes if the table name has spaces. Furthermore, the schema name must not be inside the special quotes.

See Also

sqlQuery requires special quotes if the table name has spaces.

Quotes in base R.

MSSQL-package gives an overview of the package.

Examples

tableQuote("table")
tableQuote("table name")
tableQuote("schema.table")
tableQuote("schema.table name")


MSSQL documentation built on Oct. 22, 2024, 9:06 a.m.