Submits and executes an arbitrary SQL statement on the open *.rqda file.

RQDAQuery(sql)

Arguments

sql

a character vector of length 1 with the SQL statement.

Details

It is a wrapped version of dbSendStatement, to make it more convenient to submit and execute a SQL statement.

Value

The same of dbSendStatement, possible NULL (for the side effects of sql on the *.rqda file) or a data.frame with the output (if any) of the query.

Author

HUANG Ronggui

See also

See Also as dbSendStatement

Examples

if (FALSE) { rqda_sel("select name from source where status=1") }