savvy people
Important: I want the R-Code to be in an external file.
I have run the R-code already succesfully. It is run in an SSIS-package within an SQL-Statment the using the @script=N'..R-code here..'
argument. So far so good, with the exception that the window where the SQL statement is entered is a pain. Wrapping is weird, no code highlighting etc, which renders the whole thing basically unmaintanable.
So I would like to supply the script as VARCHAR-Variable in the following fashion @script=@loaded_script
.
I tried to bulk load the script, but I get errors that the file cannot be found. Does somebody have an idea?