Pull data from a sql server warehouse using bulk copy process
SQL_Server_BulkPull(
Server = NULL,
DBName = NULL,
TableName = NULL,
Query = NULL,
FinalColumnNames = NULL,
SavePath = NULL,
SaveFileName = NULL,
DeleteTextFile = TRUE
)
Server name
Name of the database
Name of the table to pull
Leave NULL to pull entire talbe or supply a query
Supply this if you supply a query that isn't a select * query
Path file to where you want the text file saved
Name of the text file to create
Remove text file when done loading into R
Other Database:
AutoDataDictionaries()
,
ExecuteSSIS()
,
SQL_ClearTable()
,
SQL_DropTable()
,
SQL_Query_Push()
,
SQL_Query()
,
SQL_SaveTable()
,
SQL_Server_BulkPush()
,
SQL_Server_DBConnection()
,
SQL_UpdateTable()