Learn R Programming

tcpl (version 1.2.2)

tcplListFlds: Load the field names for a table

Description

tcplListFlds loads the column names for the given table and database.

Usage

tcplListFlds(tbl, db = getOption("TCPL_DB"))

Arguments

tbl
Character of length 1, the tcpl database table
db
Character of length 1, the tcpl database

Value

A string of field names for the given table.

Details

This function can be particularly useful in defining the 'fld' param in the tcplLoad- functions.

Examples

Run this code
## Gives the fields in the mc1 table
tcplListFlds("mc1")

Run the code above in your browser using DataLab