make_valid_sql {acdcquery} | R Documentation |
Create a valid SQL statement based on variable, operator, and values
Description
This function creates a valid SQL statement based on the specified variable, operator, and values. It handles different operators such as "greater", "less", "equal", and "between".
Usage
make_valid_sql(conn, variable, operator, values)
Arguments
conn |
The connection object or database connection string. |
variable |
The variable for which the SQL statement is created. |
operator |
The operator to be used in the SQL statement. |
values |
The values to be used in the SQL statement. |
Value
A character string representing the valid SQL statement.
[Package acdcquery version 1.0.1 Index]