Python Forum
capture print statement written in Stored Procedure in SQL Server
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
capture print statement written in Stored Procedure in SQL Server
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  python script is hanging while calling a procedure in database prasanthi417 4 443 Jan-17-2024, 02:33 PM
Last Post: deanhystad
  python call stored procedure mg24 2 1,032 Oct-18-2022, 02:19 AM
Last Post: mg24
  python call stored procedure with two parameter mg24 4 1,405 Sep-27-2022, 05:02 AM
Last Post: deanhystad
  How to take the tar backup files form remote server to local server sivareddy 0 1,871 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  Why doesn't this print statement work? stylingpat 10 5,591 Mar-23-2021, 07:54 PM
Last Post: buran
  Runs perfect in Python but fails to print last statement when converted to .exe. Help sunil422 3 2,747 Aug-13-2020, 01:22 PM
Last Post: deanhystad
  Taking brackets out of list in print statement pythonprogrammer 3 2,339 Apr-13-2020, 12:25 PM
Last Post: perfringo
  Execute SQL Server Stored Procedure brijeshkumar_77 0 2,979 Feb-18-2020, 02:59 AM
Last Post: brijeshkumar_77
  printing a list contents without brackets in a print statement paracelx 1 2,081 Feb-15-2020, 02:15 AM
Last Post: Larz60+
  Embedding return in a print statement Tapster 3 2,233 Oct-07-2019, 03:10 PM
Last Post: Tapster

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020