I had been trying to run python from SSIS. SO i needed to create a package in sql server. I can run small scripts in sql server but I am not sure how to run scripts.
Below works. But my python code is in test_db.py How do I run that python script in sql server?
EXEC sp_execute_external_script @language = N'Python',
@script = N'print(3+4)'
STDOUT message(s) from external script:
7