Learn R Programming

MSSQL (version 1.0.1)

tableQuote: Quote Table Name

Description

Add special quotes around table name.

Usage

tableQuote(sqtable)

Value

String with special quotes.

Arguments

sqtable

table name, with or without schema name.

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

Run this code
tableQuote("table")
tableQuote("table name")
tableQuote("schema.table")
tableQuote("schema.table name")

Run the code above in your browser using DataLab