odbcPreviewQuery: Create a preview query.

View source: R/Viewer.R

odbcPreviewQueryR Documentation

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 class 'OdbcConnection'
odbcPreviewQuery(connection, rowLimit, name)

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

## S3 method for class '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


odbc documentation built on July 9, 2023, 7:04 p.m.