Learn R Programming

odbc (version 1.4.2)

odbcPreviewQuery: Create a preview query.

Description

Optimize against the rowLimit argument. S3 since some back-ends do not parse the LIMIT syntax. Internal, not expected that users would interact with this method.

Usage

odbcPreviewQuery(connection, rowLimit, name)

# S3 method for OdbcConnection odbcPreviewQuery(connection, rowLimit, name)

# S3 method for `Microsoft SQL Server` odbcPreviewQuery(connection, rowLimit, name)

# S3 method for Oracle odbcPreviewQuery(connection, rowLimit, name)

Arguments

connection

A connection object, as returned by dbConnect().

rowLimit

The maximum number of rows to display.

name

Name of the object to be previewed