SQL_in: SQL_in

View source: R/SQL_in.r

SQL_inR Documentation

SQL_in

Description

Converts a vector of characters into something that an "IN" statement can use

Usage

SQL_in(x, apos = TRUE)

Arguments

x

The default value is NULL.

apos

The default value is TRUE. The default of TRUE results in a series of values where each is surrounded by apostrophes, which is appropriate for character values (e.g. ('Archer', 'Lana', 'Krieger')). Setting it to FALSE omits the apostrophes, making it appropriate for numeric values (e.g. (1,2,3,4,5))

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.cal

See Also

Other util: Mode(), big_in(), st_err()


Maritimes/Mar.utils documentation built on Feb. 12, 2024, 11:38 p.m.