Skip to main content
15 of 17
deleted 336 characters in body
Java
  • 251
  • 2
  • 10

Using SQL Server Agent to execute Python in SQL Server 2019

I have been using SQL Server 2016's SQL Server Agent with bottom setting and script for last 3+ years. It was/is working fine.

enter image description here

But, now, I am migrating everything to SQL Server 2019, but the same command does not work.

So, I am wondering if there is anything that I have to modify (in terms of script) because I am using SQL Server 2019.

When I use SQL Server Agent to run other Powershell script (which executes something within Powershell), it works, too.

But, when I use SQL Server Agent to run the Powershell script to execute Python file, it does not work.

Bottom is details of Powershell script: enter image description here

Update (8/14/2024):

I ran the Powershell now, and I am getting this error message:

enter image description here

Java
  • 251
  • 2
  • 10