Skip to content

Instantly share code, notes, and snippets.

@yorek
Last active April 13, 2016 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yorek/7efd319021be8cad354cf8f2c337f8a1 to your computer and use it in GitHub Desktop.
Save yorek/7efd319021be8cad354cf8f2c337f8a1 to your computer and use it in GitHub Desktop.
Get installation directory for MRO in SQL Server 2016
execute sp_execute_external_script
@language = N'R',
@script = N'OutputDataSet <- data.frame(R.home());'
with result sets (([R.home()] nvarchar(max) not null));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment