Hi Team,
Need help how to call stored procedure via python.
I am using pyodbc libarary.
Need help how to call stored procedure via python.
I am using pyodbc libarary.
query = """EXEC[DBS_database].[dbo].[sp_Recon] 'Table1','database1'""" Cursor.execute(query) its not working. **wall** for row in cursor.fetchall(): print(row)
Larz60+ write Oct-17-2022, 01:56 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use BBCode tags on future posts.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use BBCode tags on future posts.