This function checks a character vector against a predefined list of reserved SQL words.

isSqlReservedWord(sqlNames, warn = FALSE)

Arguments

sqlNames

A character vector containing table or field names to check.

warn

(logical) Should a warn be thrown if invalid SQL names are found?

Value

A logical vector with length equal to sqlNames that is TRUE for each name that is reserved and FALSE otherwise