Learn R Programming

sqlHelpers (version 0.1.2)

sqlizeTypes: Get the equivalent SQL data type for a given R object.

Description

Get the equivalent SQL data type for a given R object.

Usage

sqlizeTypes(x, dialect = "T-SQL")

Value

A string, the equivalent SQL data type for x.

Arguments

x

A R object.

dialect

A string, "T-SQL" or "Postgresql".

Examples

Run this code
sqlizeTypes(100.1209)

Run the code above in your browser using DataLab