Skip to content

Instantly share code, notes, and snippets.

@cseidman

cseidman/registerSp.R Secret

Last active Jan 24, 2018
Embed
What would you like to do?
registerSp.R
inputQry <- InputData("trainingDs",qry)
out <- OutputParameter("trained_model","raw")
sp <- StoredProcedure(
func=buildCustomerTree,
spName="buildCustomerTree",
dbName = "AdventureWorksDW2017",
InputData=inputQry,
OutputParameter=out
)
sqlServerConnString <- "Driver={SQL Server};SERVER=winrserver;DATABASE=AdventureWorksDW2017;UID=ruser;PWD=rpass"
isRegistered <- registerStoredProcedure(sp, sqlServerConnString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.