ExecuteQuery: Execute a sql query on the database

Description Usage Arguments Value

Description

This function is a wrapper around RODBC::sqlQuery that provides some convenience as it interacts with the connection handlers in this package. Additionally, it provides helpful errors, a tracing system, and various other checks

Usage

1
dataDish(db, query, time = FALSE)

Arguments

db

A database to send a query to and retrieve data from

query

A valid SQL query string

time

A boolean indicating wether to display the query's time to completion

Value

A data.table with query results


bfatemi/sqlsauce documentation built on May 12, 2019, 7:27 p.m.