SQLDataType {RMySQL}R Documentation

Determine the SQL Data Type of an R/S object

Description

Determine an (approximately) appropriate SQL data type for an R/S object

Usage

SQLDataType(mgr, obj, ...)

Arguments

mgr a dbManager object, e.g., MySQLManager, OraManager.
obj R/S object whose SQL type we want to determine.
... any other parameters that individual methods may need.

Details

This is a generic function.

Value

A character string specifying the SQL data type for obj.

See Also

isSQLKeyword make.SQL.names

Examples

ora <- dbManager("MySQL")
sql.type <- SQLDataType(ora, x)


[Package Contents]