R/sql_top_level.R
sqlForInsertFromSelect.Rd
Generate SQL INSERT statement of the form INSERT INTO target.table (fields) SELECT fields FROM source.table
sqlForInsertFromSelect(target.table, source.table, fields)
name of target table
name of source table or SQL providing source data
vector of character with field names