sqlTempTable: Insert Values into a Temporary SQL Table

Description Usage Arguments Examples

View source: R/sqlTempTable.R

Description

This function converts a Data Frame or Matrix into a character string containing an SQL statement to insert the values into a temporary table. While this will create all the code for inserting the values into the temporary table, you will still need to write code to create the temporary table in your query.

Usage

1
sqlTempTable(sourceframe, table)

Arguments

sourceframe

A data frame you want to insert into a temporary table table The name of the temporary table you want to insert values into.

Examples

1
sqlTempTable(mtcars, table = "#mtcars")

spenceredwin/sqlWriteR documentation built on Sept. 13, 2019, 1:36 p.m.