Python Forum
capture print statement written in Stored Procedure in SQL Server - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: capture print statement written in Stored Procedure in SQL Server (/thread-24525.html)



capture print statement written in Stored Procedure in SQL Server - brijeshkumar_77 - Feb-18-2020

Hi All,
I have stored procedure which i will call from python using pyodbc. This SP has several print statement which results as output of that SP.
I need to capture that output using pyodbc.
Can anyone suggest how can i do that?

Thanks