powered by
If the quote character is present in the string, it will be doubled. NAs will be replaced with NULL.
NA
sql_quote(x, quote)
Character vector to escape.
Single quoting character.
sql_quote("abc", "'") sql_quote("I've had a good day", "'") sql_quote(c("abc", NA), "'")
Run the code above in your browser using DataLab