1. Run the following commands in SSMS:
sp_configure 'external scripts enabled'
GO
sp_configure 'external scripts enabled', 1;
GO
RECONFIGURE;
GO
sp_configure 'external scripts enabled'
GO
2. Restart the SQL Server Service
3. Run the following command in SSMS:
sp_configure 'external scripts enabled'
GO
4. Test the code:
EXEC sp_execute_external_script
@language = N'Python',
@script = N'print(''Hello Python !!! from T-SQL'')'
More...
sp_configure 'external scripts enabled'
GO
sp_configure 'external scripts enabled', 1;
GO
RECONFIGURE;
GO
sp_configure 'external scripts enabled'
GO
2. Restart the SQL Server Service
3. Run the following command in SSMS:
sp_configure 'external scripts enabled'
GO
4. Test the code:
EXEC sp_execute_external_script
@language = N'Python',
@script = N'print(''Hello Python !!! from T-SQL'')'
More...
No comments:
Post a Comment