-
-
Save cseidman/0403899cd81ad65c587d75b18e26bc56 to your computer and use it in GitHub Desktop.
registerSp.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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