Description Usage Arguments Details Author(s) See Also Examples
Use bcp to write to SQL
1 |
x |
a dataframe object with the data to be written to SQL. |
table |
a character string specifying the SQL table in the form [DBname].dbo.[TableName]. |
server |
a character string specifying the SQL server containing the database specified with ‘table’. |
bcpIN |
a character string passing additional argumens to the bcp utility for reading data into Microsoft SQL Server. |
Use the bcp utility to write data to a table on Microsoft SQL Server
OECD STAN
1 2 | x <- data.frame("values"=c(1:10))
bcpWrite(x=x, table="STAN.dbo.STANPUB", server="VS-GEN-SQL-3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.